Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain workflow-edit account on n8n
-
DeliveryCraft Respond to Webhook node with malicious binary payload and Content-Type
-
ExploitPublish public webhook URL
-
InstallLure authenticated higher-privileged user to visit URL
-
C2CSP sandbox bypassed on binary path
-
ExecuteJavaScript executes in n8n origin
-
ImpactHijack victim session and act as victim
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 an authenticated n8n account with workflow edit permissions to create or modify a Respond to Webhook node, and requires a separate authenticated n8n user (typically a higher-privileged operator) to visit the resulting public webhook URL in a browser session that holds n8n cookies. Limiting factors per CVSS 4.0 are PR:L (low-privilege authentication needed on the attacker side) and UI:P (passive user interaction on the victim side), and the vulnerable code path is specifically the binary response handler of the n8n-nodes-base.respondToWebhook node; instances running n8n 1.123.55, 2.25.7, 2.26.2, or later are not exploitable, and instances that have set n8n-nodes-base.respondToWebhook in NODES_EXCLUDE have the node disabled. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:L/VA:N (score 7.0) accurately reflects a network-reachable, low-complexity attack that nonetheless requires both attacker authentication with workflow-edit rights and passive victim interaction, which materially limits mass exploitation. There is no CISA KEV listing and no public exploit identified at time of analysis, and no EPSS score was supplied. The realistic risk is highest in multi-tenant or shared n8n deployments where workflow-edit access is delegated beyond the most trusted operators, since any such user can pivot to session takeover of an admin who merely visits the malicious webhook URL; in single-operator self-hosted instances, exploitability is largely self-contained. |
| Exploit ScenarioDerived | An attacker with a low-privileged but workflow-edit-capable n8n account creates a workflow whose Respond to Webhook node returns binary content with an attacker-chosen Content-Type that browsers interpret as HTML or script. The attacker then sends the public webhook URL to a higher-privileged authenticated n8n user (for example, an administrator) and, when that user visits the link, attacker JavaScript executes in the n8n origin and can read session tokens or perform actions on the victim's behalf. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv5 – Jun 23, 2026
Same-origin cross-site scripting in n8n workflow automation platform allows an authenticated user with workflow edit privileges to weaponize the Respond to Webhook node and execute JavaScript in another authenticated user's session. The binary response path bypassed the central Content-Security-Policy sandbox header, letting attacker-controlled Content-Type serve executable content from the n8n origin. No public exploit identified at time of analysis, and the flaw is not listed in CISA KEV.
Earlier versions of this analysis (4)
Same-origin cross-site scripting in n8n workflow automation platform allows authenticated workflow editors to weaponize the Respond to Webhook node by serving binary responses with attacker-controlled Content-Type that bypass the platform's central Content-Security-Policy sandbox. When a victim user visits the public webhook URL, JavaScript executes in the n8n origin and inherits the victim's session, enabling account takeover within the instance. No public exploit identified at time of analysis, but vendor-released patches are available in 1.123.55, 2.25.7, and 2.26.2.
Same-origin cross-site scripting in n8n workflow automation platform allows an authenticated user with workflow edit privileges to execute arbitrary JavaScript in the n8n origin against any authenticated victim who visits a crafted public webhook. The flaw stems from the Respond to Webhook node's binary response path bypassing the central Content-Security-Policy sandbox header, enabling attacker-controlled Content-Type values. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.
Same-origin cross-site scripting in n8n workflow automation platform allows an authenticated user with workflow edit privileges to weaponize the Respond to Webhook node by serving binary content with an attacker-controlled Content-Type, bypassing the central Content-Security-Policy sandbox. When another authenticated user visits the resulting public webhook URL, JavaScript executes in the n8n origin with access to that victim's session. No public exploit identified at time of analysis, but a vendor advisory and patched releases (1.123.55, 2.25.7, 2.26.2) are published.
Same-origin cross-site scripting in n8n workflow automation platform allows an authenticated user with workflow edit privileges to abuse the Respond to Webhook node and execute JavaScript in the n8n origin against any authenticated user who visits the malicious webhook URL. The binary response code path bypassed the central Content-Security-Policy sandbox header, letting the attacker set an arbitrary Content-Type and deliver script payloads that run with the victim's session. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.
RemediationAI
Vendor-released patches are available: upgrade to n8n 1.123.55, 2.25.7, or 2.26.2 (or any later release) as documented in advisory GHSA-v733-mwr6-fgcm at https://github.com/n8n-io/n8n/security/advisories/GHSA-v733-mwr6-fgcm. If immediate upgrade is not possible, restrict workflow creation and edit permissions to fully trusted operators only, which removes the precondition for crafting a malicious Respond to Webhook node but reduces collaborative use of the platform. Alternatively, disable the affected node by adding n8n-nodes-base.respondToWebhook to the NODES_EXCLUDE environment variable, accepting that any existing workflows relying on synchronous webhook responses will break. The vendor explicitly notes these workarounds are partial mitigations only.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, 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.js-based workflow automation platform (npm package n8n) where the Respond to Webhook node returns HTTP responses for public webhook endpoints. The platform applies a central Content-Security-Policy sandbox header to constrain webhook responses, but the binary response code path failed to enforce that header and honored an attacker-controlled Content-Type. This is a CWE-79 (Improper Neutralization of Input During Web Page Generation) issue manifesting as same-origin XSS because the response is served from the n8n application origin, giving injected JavaScript access to the victim's authenticated session cookies and UI state.
Know when the next one hits your stack
- 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:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable webhook (AV:N), attacker needs workflow-edit auth (PR:L), victim must click link (UI:R), same-origin XSS crosses authentication boundary into victim session (S:C, C:H).
Primary rating from Vendor (https://github.com/n8n-io/n8n).
CVSS VectorVendor: https://github.com/n8n-io/n8n
Lifecycle Timeline
5DescriptionCVE.org
Impact
An authenticated user with workflow edit access could configure a Respond to Webhook node to serve binary content with an attacker-controlled Content-Type. The binary response path bypassed the central Content-Security-Policy sandbox header, allowing a public webhook to execute JavaScript in the n8n origin when visited by an authenticated user, with access to that user's session.
Patches
The issue has been fixed in n8n versions 1.123.55, 2.25.7, and 2.26.2. 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 Respond to Webhook node by adding
n8n-nodes-base.respondToWebhookto theNODES_EXCLUDEenvironment variable.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Executive ViewAI
A cross-site scripting vulnerability in n8n workflow automation platform allows authenticated users with workflow editing privileges to execute JavaScript in other authorized users' sessions. No public exploit identified at time of analysis. Organizations operating n8n with multiple workflow developers face risk of unauthorized session hijacking and unauthorized modifications to critical automated processes.
Apply vendor patch.
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.
EUVD-2026-38475
GHSA-v733-mwr6-fgcm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB