CVE-2026-65597
Severity CVSS v4.0:
HIGH
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
22/07/2026
Last modified:
27/07/2026
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.
Impact
Base Score 4.0
8.20
Severity 4.0
HIGH
Base Score 3.x
5.40
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:* | 1.123.64 (excluding) | |
| cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:* | 1.123.64 (excluding) | |
| cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:* | 2.0.0 (including) | 2.29.8 (excluding) |
| cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:* | 2.0.0 (including) | 2.29.8 (excluding) |
| cpe:2.3:a:n8n:n8n:2.30.0:*:*:*:community:node.js:*:* | ||
| cpe:2.3:a:n8n:n8n:2.30.0:*:*:*:enterprise:node.js:*:* |
To consult the complete list of CPE names with products and versions, see this page



