Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as low-privileged n8n member
-
DeliveryCreate or modify Form node workflow
-
ExploitSet respondWith to 'redirect' via dynamic expression
-
InstallPopulate responseText with malicious script
-
C2Distribute public form URL to targets
-
ExecuteVictim submits form, triggering CSP-bypass rendering
-
ImpactExfiltrate session token or perform same-origin actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold a low-privileged authenticated account on the target n8n instance with permission to create or edit workflows. The Form node's |
| Impact | The CVSS 4.0 score of 8.4 (AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N) accurately reflects the attack's realistic profile: low complexity and network-accessible, but gated behind a low-privileged authenticated account (PR:L) and requiring a victim to submit the form (UI:A). The high confidentiality and integrity ratings on the vulnerable system reflect the same-origin script execution scope, which enables full session compromise. There is no CISA KEV listing and no EPSS data was provided in the source intelligence, making it impossible to quantify current exploitation probability numerically - the real-world risk is therefore driven by threat-actor access to n8n member accounts rather than opportunistic internet-wide scanning. Organizations running n8n instances where untrusted or semi-trusted collaborators can create workflows face meaningfully higher exposure than those with tightly controlled admin-only workflow authoring. No conflicting signals exist between the CVSS vector and the description. |
| Exploit ScenarioDerived | A low-privileged n8n workspace member crafts a workflow in which a Form node uses a dynamic expression to set |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Stored XSS in n8n's Form node completion page allows a low-privileged authenticated workspace member to bypass the origin's Content-Security-Policy and deliver arbitrary scripts to public form submitters. The flaw stems from a conditional CSP application gap: sandboxing was only enforced when respondWith was not set to 'redirect', yet responseText was rendered as raw HTML regardless of that setting. Scripts injected this way execute same-origin with the victim's n8n session, enabling session token theft, credential harvesting, or unauthorized actions. No public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
Upgrade to n8n 1.123.69, 2.33.4, or 2.34.1 per the vendor security advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-rmr5-775f-jvm2. These are the exact patched versions identified by the vendor. If immediate upgrading is not feasible, the most actionable compensating control is to restrict which authenticated users can create or modify workflows containing Form nodes - since exploitation requires a low-privileged member with workflow-edit access, reducing that permission surface directly limits attack paths. Additionally, auditing existing Form node workflows for unexpected use of dynamic expressions in respondWith fields combined with populated responseText can help detect prior or attempted abuse. There is no known safe workaround that preserves full Form node functionality without patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
n8n is a node-based workflow automation platform (cpe:2.3:a:n8n-io:n8n) that exposes a Form node for building public-facing data-collection forms. The completion page - shown after submission - conditionally applied a CSP sandbox only when the respondWith field was not set to 'redirect'. However, responseText was always injected into the DOM as raw HTML, creating a CSP bypass path when an authenticated user set respondWith to 'redirect' via a dynamic n8n expression. CWE-79 (Improper Neutralization of Input During Web Page Generation / Cross-site Scripting) identifies the root cause: user-controlled content reaching HTML output without consistent sanitization or policy enforcement across all code paths.
Know when N8n gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
PR:L because an authenticated member is required; UI:R for the form-submitting victim; S:C because the vulnerable n8n server component impacts the victim's browser session in a different security scope.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
n8n's Form node contains a code injection vulnerability that allows internal users to compromise public form submissions, enabling credential theft and unauthorized access to automation workflows. Organizations using n8n Form nodes for customer-facing processes face data exposure and system compromise risks.
No vendor-released patch identified at time of analysis. Interim mitigations: Restrict Form node creation and modification to administrators only; disable Form node completion responses until patched; implement WAF rules to detect and block script injection patterns; monitor form submission logs for indicators of compromise; enforce additional CSP headers at the reverse-proxy level; consider disabling Form nodes in non-production environments as a precaution.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute
Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox
EUVD-2026-63261
GHSA-47gc-w5fv-qr5m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB