<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>N8n (&gt;= 2.30.0, &lt; 2.30.1) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/n8n--2.30.0--2.30.1/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 22 Jul 2026 18:02:15 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/n8n--2.30.0--2.30.1/feed.xml" rel="self" type="application/rss+xml"/><item><title>n8n: Stored DOM XSS via Resource Locator `cachedResultUrl`</title><link>https://feed.craftedsignal.io/briefs/2026-07-n8n-stored-dom-xss/</link><pubDate>Wed, 22 Jul 2026 18:02:15 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-n8n-stored-dom-xss/</guid><description>A stored DOM XSS vulnerability in n8n's Resource Locator feature allows attackers to inject malicious JavaScript into the cachedResultUrl parameter. When a victim opens a specially crafted workflow and interacts with external links, the JavaScript payload executes in their browser, due to a lack of scheme validation for `cachedResultUrl` passed to `window.open()`.</description><content:encoded><![CDATA[<p>A high-severity stored DOM XSS vulnerability, identified as CVE-2026-65592, exists in the n8n workflow automation platform's Resource Locator feature. This flaw affects versions prior to 1.123.64, versions 2.0.0-rc.0 through 2.29.7, and version 2.30.0. Attackers can exploit this by injecting malicious JavaScript into the <code>cachedResultUrl</code> parameter within a crafted workflow. The vulnerability stems from a lack of scheme validation when <code>cachedResultUrl</code> is passed to <code>window.open()</code>. When a victim opens such a workflow and interacts with external links, the injected JavaScript executes in their browser. This allows for potential session hijacking, data exfiltration, or further client-side compromise, making it critical for defenders to prioritize upgrading to patched versions.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains authenticated access to an n8n instance with privileges to create or edit workflows.</li>
<li>The attacker crafts a malicious JavaScript payload and embeds it within the <code>cachedResultUrl</code> parameter of an n8n workflow.</li>
<li>The attacker saves the specially crafted workflow onto the vulnerable n8n instance.</li>
<li>A victim user opens the compromised workflow in their browser, loading the malicious <code>cachedResultUrl</code> value into the DOM.</li>
<li>The victim interacts with an external link within the workflow, triggering the <code>window.open()</code> function that uses the unvalidated <code>cachedResultUrl</code>.</li>
<li>The embedded JavaScript payload executes within the victim's browser context, bypassing same-origin policies.</li>
<li>The attacker's script performs actions such as session hijacking, data exfiltration, or further client-side exploitation.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-65592 allows an attacker to execute arbitrary JavaScript within a victim's browser context. This can lead to various severe consequences, including session hijacking, unauthorized access to the victim's n8n account, data exfiltration of sensitive information displayed in the n8n interface, or further client-side exploitation through drive-by downloads or credential harvesting. While no specific victim numbers are provided, any user interacting with a compromised workflow could be affected, posing a significant risk to organizations using vulnerable n8n instances. The primary impact is on the confidentiality and integrity of user data within the affected n8n instance.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Immediately patch n8n instances to versions 1.123.64, 2.29.8, 2.30.1, or later to address CVE-2026-65592. As a temporary mitigation, restrict workflow creation and editing permissions in n8n to only trusted users. Implement application-level auditing to identify workflows containing unexpected <code>cachedResultUrl</code> values with non-HTTP(S) schemes, as detailed in the workarounds section of the advisory for CVE-2026-65592.</p>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>xss</category><category>vulnerability</category><category>n8n</category></item></channel></rss>