5.1medium
n8n - Cross-Site Scripting and Open Redirect in Form Node
- Severity
- 5.1medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-w673-8fjw-457c
Description
n8n before 1.123.24, 2.10.4, and 2.12.0 (across its 1.x and 2.x branches) contains cross-site scripting and open redirect vulnerabilities in the Form Node due to unsanitized HTML description fields and overly permissive iframe sandbox policies. Authenticated users with workflow creation permissions can inject malicious scripts or redirect parameters to perform stored XSS attacks or phishing redirects against end users.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| n8n n8n | before 1.123.24, from 2.0.0-rc.0 before 2.10.4, from 2.11.0 before 2.12.0, from 2.0.0 before 2.10.4, from 2.10.0 before 2.10.4 Not affected: 1.123.24, 2.10.4, 2.12.0 | CVE List, NVD |
| n8n (npm) | from 2.11.0 before 2.12.0, from 2.0.0-rc.0 before 2.10.4, before 1.123.24 | GitHub Advisory Database |
All scores
| VulnCheck | 5.1medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| VulnCheck | 4.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N |
| GitHub | 4.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
What each source says
CVE List
n8n before 1.123.24, 2.10.4, and 2.12.0 (across its 1.x and 2.x branches) contains cross-site scripting and open redirect vulnerabilities in the Form Node due to unsanitized HTML description fields and overly permissive iframe sandbox policies. Authenticated users with workflow creation permissions can inject malicious scripts or redirect parameters to perform stored XSS attacks or phishing redirects against end users.
GitHub Advisory Database
Impact
An authenticated user with permission to create or modify workflows could configure a Form Node with an unsanitized HTML description field or exploit an overly permissive iframe sandbox policy to perform stored cross-site scripting or redirect end users visiting the form to an arbitrary external URL. The vulnerability could be used to facilitate phishing attacks.
Patches
The issue has been fixed in n8n versions 1.123.24, 2.10.4 and 2.12.0. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Limit workflow creation and editing permissions to fully trusted users only.
- Disable the Form node by adding
n8n-nodes-base.formto theNODES_EXCLUDEenvironment variable. - Disable the Form Trigger node by adding
n8n-nodes-base.formTriggerto theNODES_EXCLUDEenvironment variable.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
References
| https://github.com/n8n-io/n8n/security/advisories/GHSA-w673-8fjw-457c | mitigation, vendor-advisory, web | |
| https://www.vulncheck.com/advisories/n8n-cross-site-scripting-and-open-redirect-in-form-node | third-party-advisory | |
| https://github.com/n8n-io/n8n | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-56354 changed 2026-10-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-w673-8fjw-457c changed 2026-07-11 | CC-BY-4.0 |
| NVD | CVE-2026-56354 changed 2026-10-29 | Public domain |