Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attacker needs workflow-edit rights (PR:L) and victim interaction (UI:R); script runs in the victim's origin crossing a privilege boundary (S:C) enabling session/credential compromise (C:H/I:H, A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
n8n before 1.123.64, 2.29.8, and 2.30.1 contains a stored DOM cross-site scripting vulnerability in the Resource Locator component, which passes the workflow-persisted cachedResultUrl parameter to window.open() without scheme validation. An attacker with workflow creation/editing privileges can craft a workflow with a malicious (e.g., javascript:) scheme in cachedResultUrl; when a victim opens the crafted workflow and interacts with external links, the payload executes in the victim's browser.
AnalysisAI
Stored DOM cross-site scripting in n8n's Resource Locator component allows a low-privileged workflow author to execute arbitrary JavaScript in another user's browser session. The flaw stems from the workflow-persisted cachedResultUrl value being passed to window.open() without scheme validation, letting a javascript: URI fire when a victim opens the crafted workflow and clicks an external link. No public exploit has been identified at time of analysis, and it is not listed in CISA KEV, but exploitation is realistic in shared/multi-tenant n8n instances.
Technical ContextAI
n8n is a self-hosted, fair-code workflow automation platform (a Node.js/Vue front-end orchestration tool). The Resource Locator is a UI control that lets nodes reference external resources and stores a human-friendly cachedResultUrl alongside the resource ID. Because this cached URL is persisted inside the workflow definition and later handed to window.open() on the client, an attacker-controlled string reaches a DOM sink without output sanitization or scheme allow-listing - the CWE-79 root cause. Browsers treat window.open('javascript:...') as script execution in the opener's origin, turning a stored data field into a DOM-based XSS sink. The affected code path exists in n8n versions prior to 1.123.64, 2.29.8, and 2.30.1 (cpe:2.3:a:n8n-io:n8n).
RemediationAI
Upgrade to a fixed release: n8n 1.123.64 (1.x line), 2.29.8 (2.29 branch), or 2.30.1 (2.30 branch), whichever matches your deployed major/minor version, per vendor advisory GHSA-9wcp-9r3j-383q. Until patching, limit workflow creation/editing to trusted operators and review any shared or imported workflows before opening them, since exploitation requires an attacker-authored workflow - restricting or auditing the pool of workflow authors directly removes the attack surface at the cost of collaboration friction. Avoid opening or clicking external links within untrusted workflows, and consider a browser-side or reverse-proxy Content-Security-Policy that blocks inline/javascript: script execution as defense-in-depth, noting CSP can break legitimate front-end features and should be tested against n8n's UI first.
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
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
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
Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox
The n8n package 0.218.0 for Node.js allows Information Disclosure. Rated high severity (CVSS 7.5), this vulnerability is
The n8n package 0.218.0 for Node.js allows Directory Traversal. Rated medium severity (CVSS 6.5), this vulnerability is
n8n versions prior to 2.5.0 contain a critical SSH host key verification bypass in the Source Control feature that allow
This vulnerability in n8n (an open-source workflow automation platform) is an authentication bypass in the OAuth callbac
Code injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22 allows authenticated users to execute arbitrary c
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-47636
GHSA-9wcp-9r3j-383q