CVE-2026-77072
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Summary
n8n before 1.123.69, 2.33.4, and 2.34.1 contains a stored cross-site scripting vulnerability in the Form node's completion page. The completion page applied its sandboxing Content-Security-Policy only when respondWith was not set to 'redirect', but responseText was always rendered as raw HTML. An authenticated member could set respondWith to 'redirect' via an expression while keeping responseText populated, causing the completion page to serve unsanitized HTML and script from the n8n origin. Any visitor who submitted the resulting public form would have that script execute same-origin with their session.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n8n-io | n8n | 0 < 1.123.69 | affected |
| n8n-io | n8n | 1.123.69 | unaffected |
| n8n-io | n8n | 0 < 2.34.1 | affected |
| n8n-io | n8n | 2.34.1 | unaffected |
| n8n-io | n8n | 0 < 2.33.4 | affected |
| n8n-io | n8n | 2.33.4 | unaffected |
Weaknesses
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-rmr5-775f-jvm2
- https://www.vulncheck.com/advisories/n8n-before-stored-xss-via-form-completion-page
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.