CVE-2026-77072: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in n8n-io n8n
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.
AI Analysis
Technical Summary
CVE-2026-77072 is a stored cross-site scripting vulnerability affecting n8n versions prior to 1.123.69, 2.33.4, and 2.34.1. The Form node's completion page applies a sandboxing Content-Security-Policy only when respondWith is not set to 'redirect'. However, responseText is always rendered as raw HTML. An authenticated member can 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. This results in script execution in the context of the n8n web application for any visitor who submits the affected public form.
Potential Impact
An attacker with authenticated access can craft a form that, when submitted by any visitor, executes arbitrary scripts in the context of the n8n origin. This can lead to session hijacking, unauthorized actions, or other malicious behaviors executed with the privileges of the victim's session. The vulnerability has a high CVSS 4.0 score of 8.4, indicating significant impact due to network attack vector, low attack complexity, no privileges required beyond authentication, and high impact on confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict authenticated user permissions to prevent exploitation and avoid using the Form node's completion page with respondWith set to 'redirect' combined with untrusted responseText content.
CVE-2026-77072: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in n8n-io n8n
Description
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.
CVSS v4.0
Score 8.4high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-77072 is a stored cross-site scripting vulnerability affecting n8n versions prior to 1.123.69, 2.33.4, and 2.34.1. The Form node's completion page applies a sandboxing Content-Security-Policy only when respondWith is not set to 'redirect'. However, responseText is always rendered as raw HTML. An authenticated member can 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. This results in script execution in the context of the n8n web application for any visitor who submits the affected public form.
Potential Impact
An attacker with authenticated access can craft a form that, when submitted by any visitor, executes arbitrary scripts in the context of the n8n origin. This can lead to session hijacking, unauthorized actions, or other malicious behaviors executed with the privileges of the victim's session. The vulnerability has a high CVSS 4.0 score of 8.4, indicating significant impact due to network attack vector, low attack complexity, no privileges required beyond authentication, and high impact on confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict authenticated user permissions to prevent exploitation and avoid using the Form node's completion page with respondWith set to 'redirect' combined with untrusted responseText content.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-20T10:51:39.783Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a86e706acd9273b498befae
Added to database: 08/20/2026, 11:37:42 UTC
Last enriched: 08/20/2026, 11:53:05 UTC
Last updated: 08/21/2026, 02:22:44 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.