Vulnerability · Published Jun 24, 2026 · Assigned by VulnCheck
CVE-2026-56358n8n - Stored Cross-Site Scripting in Form Trigger Node
Medium 5.4
In plain English
A medium-severity cross-site scripting in n8n from n8n. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | n8n | 2.11.2 | GHSA-q4fm-pjq6-m63g |
| npm | n8n | 1.123.25 | GHSA-q4fm-pjq6-m63g |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- GitHub Security Advisory (GHSA-q4fm-pjq6-m63g) vendor-advisory
- VulnCheck Advisory: n8n - Stored Cross-Site Scripting in Form Trigger Node third-party-advisory