# CVE-2026-65597: n8n before 1.123.64 DOM-Based XSS via Unsandboxed iframe

- Severity: High 8.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-07-22T11:21:44.721Z
- Modified: 2026-10-29T21:16:26.685Z
- Also known as: GHSA-p3rg-hrf9-w9gj
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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. An account with global:member privileges can exploit the issue.

(As written by CVE List.)

## Affected

- 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)
- n8n (npm): before 1.123.64; from 2.30.0 before 2.30.1; from 2.0.0-rc.0 before 2.29.8
- n8n n8n: before 1.123.64; from 2.0.0 before 2.29.8; 2.30.0

## Every score

- VulnCheck: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-p3rg-hrf9-w9gj> (mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/n8n-before-dom-based-xss-via-unsandboxed-iframe> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-65597> (advisory)
- <https://github.com/n8n-io/n8n> (package)
- <https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.64> (web)
- <https://github.com/n8n-io/n8n/releases/tag/n8n@2.29.8> (web)
- <https://github.com/n8n-io/n8n/releases/tag/n8n@2.30.1> (web)

## Sources

- CVE List: [CVE-2026-65597](https://www.cve.org/CVERecord?id=CVE-2026-65597), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-p3rg-hrf9-w9gj](https://github.com/advisories/GHSA-p3rg-hrf9-w9gj), CC-BY-4.0, modified 2026-07-22
- NVD: [CVE-2026-65597](https://nvd.nist.gov/vuln/detail/CVE-2026-65597), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-65597 · Whole record: https://cve.day/CVE-2026-65597.json · Rebuilt by cve.day 2026-11-25T22:59:29.810Z
