Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilitywidely-deployed-product-advisoryidentity-authentication-vulnerability

Stored DOM XSS in n8n Lets Workflow Editors Execute JavaScript in Other Users' Sessions

Vulnerability Disclosure · 2 sources · Updated 4mo ago · First seen Jul 22, 2026

Stored DOM XSS in n8n Lets Workflow Editors Execute JavaScript in Other Users' Sessions

A stored DOM-based cross-site scripting flaw tracked as CVE-2026-65592 affects the n8n workflow automation platform, allowing authenticated users with workflow creation or editing rights to plant a malicious URI in the Resource Locator component's cachedResultUrl field. The value is saved in workflow metadata and later passed to window.open() without validating the URL scheme, so a victim who opens the crafted workflow and clicks the external resource link can trigger attacker-controlled JavaScript in their browser.

The vulnerability affects n8n versions before 1.123.64, before 2.29.8, and before 2.30.1. Reports say the bug could enable session hijacking or abuse of n8n API access available to the victim user, and classify the issue as CWE-79 with network attackability, low attack complexity, low privileges required, and user interaction required. Recommended remediation is to upgrade to a fixed release and enforce strict scheme validation so only safe http and https URLs are accepted in cachedResultUrl.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

1 event · Jul 22, 2026
  1. Jul 22, 20264mo ago

    CVE-2026-65592 disclosed for stored DOM XSS in n8n

    A stored DOM-based cross-site scripting vulnerability affecting n8n was disclosed as CVE-2026-65592. The flaw involves the Resource Locator component passing a workflow-persisted cachedResultUrl value to window.open() without validating the URL scheme, enabling JavaScript execution when a victim interacts with a crafted link.

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

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Affected products

1 linked
N8N

Organizations

1 linked
n8n.io

Observables

1 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.