Description
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.
Published: 2026-07-22
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A stored cross–site scripting flaw exists in the Resource Locator component of n8n. The flaw arises because the cachedResultUrl workflow parameter is passed directly to window.open() without validating its scheme. When a maliciously crafted workflow is opened and the user interacts with external links, the payload, such as a javascript: link, executes in the victim’s browser, enabling the attacker to run arbitrary JavaScript in the user's context. This can lead to credential hijacking, session theft, or other client‑side attacks.

Affected Systems

The vulnerability affects n8n versions prior to 1.123.64, 2.29.8, and 2.30.1. All users running these releases and having workflow creation or editing permissions are potentially exposed.

Risk and Exploitability

The CVSS score of 8.4 indicates a high severity. The EPSS score is < 1%, and the vulnerability is not listed in the CISA KEV catalog. An attacker with workflow creation or editing privileges can embed a malicious cachedResultUrl value; when the victim later opens that workflow and interacts with external links, the script runs in the victim’s browser. The attack requires legitimate application access but no additional networking or OS privileges.

Generated by OpenCVE AI on August 4, 2026 at 00:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade n8n to the latest release, at least 1.123.64 or newer (including 2.29.9, 2.30.2, or later) to address the issue.
  • Audit and delete any existing workflows that contain malicious or unexpected cachedResultUrl values.
  • Limit workflow creation and editing rights to trusted administrators to reduce the chance of injection.

Generated by OpenCVE AI on August 4, 2026 at 00:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-9wcp-9r3j-383q n8n: Stored DOM XSS via Resource Locator `cachedResultUrl`
History

Wed, 22 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 22 Jul 2026 11:45:00 +0000

Type Values Removed Values Added
Description 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.
Title n8n before 1.123.64 Stored DOM XSS via cachedResultUrl
First Time appeared N8n
N8n n8n
Weaknesses CWE-79
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 8.4, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-22T12:23:52.475Z

Reserved: 2026-07-22T10:45:44.832Z

Link: CVE-2026-65592

cve-icon Vulnrichment

Updated: 2026-07-22T12:23:49.158Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-22T12:18:19.253

Modified: 2026-07-27T19:11:30.983

Link: CVE-2026-65592

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T00:00:09Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')