CVE-2026-65592: n8n before 1.123.64 Stored DOM XSS via cachedResultUrl

Published Jul 22, 2026
·
Updated

Impact The Resource Locator passes the workflow-persisted cachedResultUrl to window.open() without scheme validation. When a victim opens the crafted workflow and interact with external links, the JavaScript payload runs in the victim's browser.

Patches The issue has been fixed in n8n versions 1.123.64, 2.29.8, and 2.30.1. 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: - Restrict workflow creation and editing permissions to fully trusted users only. - Audit existing workflows for unexpected cachedResultUrl values containing non-HTTP(S) schemes.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Other sources

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.

MITRE

Affected Software

12 affected componentsFixes available
n8n n8n<1.123.64
n8n n8n=2.29.8
n8n n8n=2.30.1
npm/n8n>=2.0.0-rc.0<2.29.8
2.29.8
npm/n8n>=2.30.0<2.30.1
2.30.1
npm/n8n<1.123.64
1.123.64
n8n N8n Node.js<1.123.64
n8n N8n Node.js<1.123.64
n8n N8n Node.js>=2.0.0<2.29.8
n8n N8n Node.js>=2.0.0<2.29.8
n8n N8n Node.js=2.30.0
n8n N8n Node.js=2.30.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/n8n to a version that resolves this vulnerability.

    Fixed in 2.29.8
  2. Upgrade

    Upgrade npm/n8n to a version that resolves this vulnerability.

    Fixed in 2.30.1
  3. Upgrade

    Upgrade npm/n8n to a version that resolves this vulnerability.

    Fixed in 1.123.64
  4. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 1.123.64
  5. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 2.29.8
  6. Upgrade

    Upgrade n8n to a version that resolves this vulnerability.

    Fixed in 2.30.1
  7. Configuration

    Restrict workflow creation and editing permissions to fully trusted users only to reduce the risk of attackers crafting a workflow with a malicious cachedResultUrl (e.g., javascript:) that executes in victims' browsers.

    n8n workflow creation/editing permissions restrict to fully trusted users only = fully trusted users only
  8. Compensating control

    Audit existing workflows for unexpected cachedResultUrl values containing non-HTTP(S) schemes (e.g., javascript:) and treat any findings as potentially malicious until upgrading.

Event History

Jul 22, 2026
CVE Published
via MITRE·11:21 AM
Data Sourced
via MITRE·11:21 AM
DescriptionWeakness
Data Sourced
via NVD·12:18 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:18 PM
Affected Software
Advisory Published
via GitHub·05:59 PM
Data Sourced
via GitHub·05:59 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-65592?

CVE-2026-65592 has a severity rating of 8.4, indicating it is a high risk vulnerability.

2

How do I fix CVE-2026-65592?

To fix CVE-2026-65592, upgrade n8n to version 1.123.64 or later.

3

What type of vulnerability is CVE-2026-65592?

CVE-2026-65592 is classified as a Stored DOM XSS vulnerability.

4

What impact does CVE-2026-65592 have on users?

CVE-2026-65592 allows attackers to execute JavaScript payloads in the victim's browser when they open a crafted workflow.

5

Which software is affected by CVE-2026-65592?

CVE-2026-65592 affects n8n versions prior to 1.123.64.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203