N8n: Duplicate Advisory: Stored DOM XSS via Resource Locator `cachedResultUrl`
n8n before versions 1.123.64, 2.29.8, and 2.30.1 contains a stored DOM cross-site scripting (XSS) vulnerability in the Resource Locator component. The vulnerability occurs because the cachedResultUrl parameter is passed to window.open() without validating the URL scheme. An attacker with workflow creation or editing privileges can embed a javascript: scheme in cachedResultUrl, causing malicious scripts to execute in the browser of a user who opens the crafted workflow.
AI Analysis
Technical Summary
This vulnerability in n8n affects versions prior to 1.123.64, 2.29.8, and 2.30.1. It is a stored DOM XSS issue in the Resource Locator component where the cachedResultUrl parameter is used unsafely with window.open() without proper URL scheme validation. An attacker with privileges to create or edit workflows can insert a javascript: URL scheme in cachedResultUrl. When a victim opens and interacts with the malicious workflow, the embedded script executes in their browser context, leading to potential script-based attacks. This advisory is a duplicate and was withdrawn in favor of GHSA-9wcp-9r3j-383q.
Potential Impact
Successful exploitation allows an attacker with workflow creation or editing privileges to execute arbitrary JavaScript in the browsers of users who open the malicious workflow. This can lead to session hijacking, data theft, or other script-based attacks within the context of the affected user's session.
Mitigation Recommendations
The vulnerability is fixed in n8n versions 1.123.64, 2.29.8, and 2.30.1. Users should upgrade to at least these versions to remediate the issue. No additional mitigations are indicated by the vendor advisory.
N8n: Duplicate Advisory: Stored DOM XSS via Resource Locator `cachedResultUrl`
Description
n8n before versions 1.123.64, 2.29.8, and 2.30.1 contains a stored DOM cross-site scripting (XSS) vulnerability in the Resource Locator component. The vulnerability occurs because the cachedResultUrl parameter is passed to window.open() without validating the URL scheme. An attacker with workflow creation or editing privileges can embed a javascript: scheme in cachedResultUrl, causing malicious scripts to execute in the browser of a user who opens the crafted workflow.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in n8n affects versions prior to 1.123.64, 2.29.8, and 2.30.1. It is a stored DOM XSS issue in the Resource Locator component where the cachedResultUrl parameter is used unsafely with window.open() without proper URL scheme validation. An attacker with privileges to create or edit workflows can insert a javascript: URL scheme in cachedResultUrl. When a victim opens and interacts with the malicious workflow, the embedded script executes in their browser context, leading to potential script-based attacks. This advisory is a duplicate and was withdrawn in favor of GHSA-9wcp-9r3j-383q.
Potential Impact
Successful exploitation allows an attacker with workflow creation or editing privileges to execute arbitrary JavaScript in the browsers of users who open the malicious workflow. This can lead to session hijacking, data theft, or other script-based attacks within the context of the affected user's session.
Mitigation Recommendations
The vulnerability is fixed in n8n versions 1.123.64, 2.29.8, and 2.30.1. Users should upgrade to at least these versions to remediate the issue. No additional mitigations are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h5xr-fqvj-253p
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a6151339c2644c7f8da750c
Added to database: 07/22/2026, 23:24:35 UTC
Last enriched: 07/23/2026, 00:36:59 UTC
Last updated: 07/23/2026, 00:36:59 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.