{"id":"GHSA-vhcw-f978-xjjg","summary":"Duplicate Advisory: DOM-Based XSS via Unsandboxed iframe srcdoc in HTML Preview","details":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-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.","modified":"2026-07-22T18:01:07.085844932Z","published":"2026-07-22T12:32:18Z","withdrawn":"2026-07-22T17:55:01Z","database_specific":{"nvd_published_at":"2026-07-22T12:18:19Z","cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-07-22T17:55:01Z"},"references":[{"type":"WEB","url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-p3rg-hrf9-w9gj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65597"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/n8n-before-dom-based-xss-via-unsandboxed-iframe"}],"affected":[{"package":{"name":"n8n","ecosystem":"npm","purl":"pkg:npm/n8n"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c 1.123.64","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-vhcw-f978-xjjg/GHSA-vhcw-f978-xjjg.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}