high8.2
CVE-2026-65597
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 …
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | n8n | < 1.123.64 | 1.123.64 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| N8n | N8n | before 1.123.64 from 2.0.0 before 2.29.8 Version 2.30.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-p3rg-hrf9-w9gj
- https://github.com/n8n-io/n8n/security/advisories/GHSA-p3rg-hrf9-w9gj
- https://nvd.nist.gov/vuln/detail/CVE-2026-65597
- https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.64
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.29.8
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.30.1
- https://www.vulncheck.com/advisories/n8n-before-dom-based-xss-via-unsandboxed-iframe