CVE-2026-65597
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.
How to fix
- n8n n8n1.123.64, 2.29.8 or later
- n8n1.123.64, 2.30.1, 2.29.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| n8n n8n | v < 1.123.64, 2.0.0 ≤ v < 2.29.8, 2.30.0 | 1.123.64, 2.29.8 |
| n8nnpm | v < 1.123.64, 2.30.0 ≤ v < 2.30.1, 2.0.0-rc.0 ≤ v < 2.29.8 | 1.123.64, 2.30.1, 2.29.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.