CVE-2026-65592

n8n before 1.123.64 Stored DOM XSS via cachedResultUrl

Published Jul 22, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 9:16 PM
Reserved
Jul 22, 2026, 10:45 AM
Status
Analyzed
Published
Jul 22, 2026, 12:18 PM
Modified
Oct 29, 2026, 7:17 PM