N8n-io n8n
n8n before 1.123.64 Stored DOM XSS via cachedResultUrl
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.123.64
Fixed in 1.123.64
- >= 2.30.0, < 2.30.1
Fixed in 2.30.1
- >= 2.0.0-rc.0, < 2.29.8
Fixed in 2.29.8
Mitigation
Upgrade n8n to 1.123.64 or later.
Upgrade n8n to 2.30.1 or later.
Upgrade n8n to 2.29.8 or later.
References
- Vendor advisory github.com/n8n-io/n8n/security/advisories/GHSA…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.