{"id":"GHSA-vhcw-f978-xjjg","revision":"0e67aac8ffcf41ab850d9f8b8ac44083","records":[{"revision":"0e67aac8ffcf41ab850d9f8b8ac44083","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-vhcw-f978-xjjg","aliases":[],"title":"Duplicate Advisory: DOM-Based XSS via Unsandboxed iframe srcdoc in HTML Preview","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of\u00A0GHSA-p3rg-hrf9-w9gj. This link is maintained to preserve external references.\n\n## Original Description\nn8n before 1.123.64, 2.x before 2.29.8, and before 2.30.1 contains a DOM-based cross-site scripting vulnerability in the HTML preview, which renders execution output into an iframe srcdoc without the sandbox attribute. A sanitizer bypass allows injected script to execute same-origin as the editor. When a victim opens the preview, the script can call authenticated APIs using the victim's session. An account with global:member privileges can exploit the issue.","state":2,"publishedAt":"2026-07-22T12:32:18+00:00","modifiedAt":"2026-07-22T18:01:07.0858449+00:00","affected":[{"ecosystem":"npm","name":"n8n","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-p3rg-hrf9-w9gj","https://nvd.nist.gov/vuln/detail/CVE-2026-65597","https://www.vulncheck.com/advisories/n8n-before-dom-based-xss-via-unsandboxed-iframe"],"sourceUrl":"https://github.com/advisories/GHSA-vhcw-f978-xjjg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-vhcw-f978-xjjg","identifiers":["GHSA-vhcw-f978-xjjg"]},"retained":false,"historicalAffected":[]}],"coverage":[]}