XSS in N8n
CVE-2026-56358
n8n before 1.123.25 (1.x) and before 2.11.2 (2.x), with the fix also included in 2.12.0, contains a stored cross-site scripting vulnerability in the Form Trigger node's CSS sanitization that allows authenticated users to inject malicious scripts. Attackers with workflow creation permissions can inject XSS payloads that execute persistently for all form visitors, enabling form hijacking and phishing attacks.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.002 (13.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 14th percentile — 13.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- N8n — versions 0, 1.123.25, 2.0.0-rc.0
Weakness classification (CWE)
References
- github.com/n8n-io/n8n/security/advisories/GHSA-q4fm-pjq6-m63g (vendor-advisory, Mitigation, Vendor Advisory)
- www.vulncheck.com/advisories/n8n-stored-cross-site-scripting-in-form-trigger-no… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-56358?
- CVE-2026-56358 is a medium-severity vulnerability in N8n, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2026-06-24.
- How severe is CVE-2026-56358?
- Medium severity. CVSS v3 base score is 5.4 out of 10.