8.4high
n8n before 1.123.64 Stored DOM XSS via cachedResultUrl
- Severity
- 8.4high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-9wcp-9r3j-383q
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| n8n-io n8n | before 1.123.64, from 2.30.0 before 2.30.1, from 2.0.0-rc.0 before 2.29.8 Not affected: 1.123.64, 2.30.1, 2.29.8 | CVE List |
| n8n (npm) | before 1.123.64, from 2.30.0 before 2.30.1, from 2.0.0-rc.0 before 2.29.8 | GitHub Advisory Database |
| n8n n8n | before 1.123.64, from 2.0.0 before 2.29.8, 2.30.0 | NVD |
All scores
| VulnCheck | 8.4high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
The Resource Locator passes the workflow-persisted cachedResultUrl to window.open() without scheme validation. When a victim opens the crafted workflow and interact with external links, the JavaScript payload runs in the victim's browser.
Patches
The issue has been fixed in n8n versions 1.123.64, 2.29.8, and 2.30.1. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict workflow creation and editing permissions to fully trusted users only.
- Audit existing workflows for unexpected
cachedResultUrlvalues containing non-HTTP(S) schemes.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
NVD (es)
n8n antes de 1.123.64, 2.29.8 y 2.30.1 contiene una vulnerabilidad de cross-site scripting DOM almacenado en el componente Resource Locator, que pasa el parámetro cachedResultUrl persistido en el flujo de trabajo a window.open() sin validación de esquema. Un atacante con privilegios de creación/edición de flujos de trabajo puede crear un flujo de trabajo con un esquema malicioso (p. ej., javascript_disabled: ) en cachedResultUrl; cuando una víctima abre el flujo de trabajo creado e interactúa con enlaces externos, la carga útil se ejecuta en el navegador de la víctima.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-65592 changed 2026-10-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9wcp-9r3j-383q changed 2026-07-22 | CC-BY-4.0 |
| NVD | CVE-2026-65592 changed 2026-10-29 | Public domain |