Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| N8N | N8N | < 1.123.64 |
Related Weaknesses (CWE)
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-p3rg-hrf9-w9gjMitigationVendor Advisory
- https://www.vulncheck.com/advisories/n8n-before-dom-based-xss-via-unsandboxed-ifThird Party Advisory
FAQ
What is CVE-2026-65597?
CVE-2026-65597 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 ...
How severe is CVE-2026-65597?
CVE-2026-65597 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-65597?
Check the references section above for vendor advisories and patch information. Affected products include: N8N N8N.