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, 15.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- N8n — versions 0, 1.123.25, 2.0.0-rc.0
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-q4fm-pjq6-m63g) (vendor-advisory, Mitigation, Vendor Advisory)
- VulnCheck Advisory: n8n - Stored Cross-Site Scripting in Form Trigger Node (Third Party Advisory, third-party-advisory)