{"id":"CVE-2026-65592","aliases":["CVE-2026-65592","GHSA-9wcp-9r3j-383q"],"related":[],"kind":"vulnerability","state":"published","title":"n8n before 1.123.64 Stored DOM XSS via cachedResultUrl","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Impact\nThe 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. \n\n## Patches\nThe 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.\n\n## Workarounds\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Restrict workflow creation and editing permissions to fully trusted users only.\n- Audit existing workflows for unexpected `cachedResultUrl` values containing non-HTTP(S) schemes.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-07-22T11:21:41.381Z","modified":"2026-10-29T21:16:23.289Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.123.64","status":"affected"},{"type":"semver","version":"1.123.64","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.30.0","fixed":"2.30.1","status":"affected"},{"type":"semver","version":"2.30.1","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","fixed":"2.29.8","status":"affected"},{"type":"semver","version":"2.29.8","status":"unaffected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.123.64"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.30.0","status":"affected","fixed":"2.30.1"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","status":"affected","fixed":"2.29.8"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.123.64"},{"status":"affected","fixed":"1.123.64"},{"status":"affected","introduced":"2.0.0","fixed":"2.29.8"},{"status":"affected","introduced":"2.0.0","fixed":"2.29.8"},{"status":"affected","version":"2.30.0"},{"status":"affected","version":"2.30.0"}],"vendor":"n8n","product":"n8n","cpe":"cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-9wcp-9r3j-383q","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/n8n-before-stored-dom-xss-via-cachedresulturl","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65592","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.64","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.29.8","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.30.1","tags":["web"],"sources":["ghsa"]}],"credits":["odgrso"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-07-22T12:23:44.736Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-65592","url":"https://www.cve.org/CVERecord?id=CVE-2026-65592","licence":"CVE Terms of Use","modified":"2026-10-29T21:16:23.289Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9wcp-9r3j-383q","url":"https://github.com/advisories/GHSA-9wcp-9r3j-383q","licence":"CC-BY-4.0","modified":"2026-07-22T19:03:13.163Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-65592","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65592","licence":"Public domain","modified":"2026-10-29T19:17:26.493Z"}],"updatedAt":"2026-11-25T22:59:29.807Z","epss":{"score":0.0021,"percentile":0.11858,"date":"2026-12-01T12:00:22.000Z"}}