Skip to content
HighVulnerability

GHSA-9wcp-9r3j-383q: n8n: Stored DOM XSS via Resource Locator `cachedResultUrl`

Published
Record updated
View JSON
Affected
  • n8n >= 2.0.0-rc.0, < 2.29.8, fixed in 2.29.8, released July 8, 2026, 14 days before disclosure
  • n8n >= 2.30.0, < 2.30.1, fixed in 2.30.1, released July 8, 2026, 14 days before disclosure
  • n8n < 1.123.64, fixed in 1.123.64, released July 8, 2026, 14 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

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

Mitigation

Fixed in n8n versions 1.123.64, 2.29.8, and 2.30.1; users should upgrade to one of these versions or later. If upgrading is not immediately possible, restrict workflow creation and editing permissions to fully trusted users only, and 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 measures.