{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-65597","id":"CVE-2026-65597","title":"n8n before 1.123.64 DOM-Based XSS via Unsandboxed iframe","description":"n8n 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. A","descriptionLong":"n8n 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.","published":"2026-07-22T11:21:44.721Z","updated":"2026-10-31T02:30:50.740133985Z","reserved":"2026-07-22T10:45:44.833Z","status":"Analyzed","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":8.2,"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","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":8.2,"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","rating":"high","source":"VulnCheck"},{"version":"4.0","score":8.2,"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","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":["n8n-io n8n"],"affectedProducts":[{"vendor":"n8n-io","product":"n8n","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"1.123.64"},{"version":"1.123.64","status":"unaffected","versionType":"semver"}],"platforms":[]},{"vendor":"n8n-io","product":"n8n","defaultStatus":"unaffected","versions":[{"version":"2.30.0","status":"affected","versionType":"semver","lessThan":"2.30.1"},{"version":"2.30.1","status":"unaffected","versionType":"semver"}],"platforms":[]},{"vendor":"n8n-io","product":"n8n","defaultStatus":"unaffected","versions":[{"version":"2.0.0-rc.0","status":"affected","versionType":"semver","lessThan":"2.29.8"},{"version":"2.29.8","status":"unaffected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":["<1.123.64",">=2.30.0 <2.30.1",">=2.0.0-rc.0 <2.29.8"],"fixed":["1.123.64","2.30.1","2.29.8"],"advisory":"GHSA-p3rg-hrf9-w9gj"}],"cwes":["CWE-79"],"aliases":["GHSA-p3rg-hrf9-w9gj"],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-p3rg-hrf9-w9gj","tags":["vendor-advisory","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://www.vulncheck.com/advisories/n8n-before-dom-based-xss-via-unsandboxed-iframe","tags":["third-party-advisory","Third Party Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65597.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65597","tags":["advisory"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.64","tags":["web"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.29.8","tags":["web"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.30.1","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00296,"epssPercentile":0.22524,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-65597","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65597","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-65597","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p3rg-hrf9-w9gj","ok":true,"note":"GHSA-p3rg-hrf9-w9gj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-65597","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}