CVE-2026-56358
n8n - Stored Cross-Site Scripting in Form Trigger Node
- State
- Published
- Severity
- 5.1 Medium
- Published
- Jun 24, 2026
- Updated
- Oct 29, 2026
- Reserved
- Jun 20, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N | VulnCheck |
| 3.1 | 5.4 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
n8nn8n |
|
n8nn8n |
|
n8nn8n |
|
References
- GitHub Security Advisory (GHSA-q4fm-pjq6-m63g)vendor-advisory
- VulnCheck Advisory: n8n - Stored Cross-Site Scripting in Form Trigger Nodethird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.