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 vulnerabil
CVE-2026-65597 is a medium-severity flaw (CVSS 5.4) affecting n8n. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 exploi
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 79%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2026-07-22 |
| Last modified | 2026-10-24 |
Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-65597?
n8n: upgrade to 1.123.64, 2.29.8. Exact commands for each OS are on this page.
Is CVE-2026-65597 being exploited?
CVE-2026-65597 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-65597 affect?
CVE-2026-65597 affects n8n. Severity is medium (CVSS 5.4). 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 al
How urgent is CVE-2026-65597?
Priority 24/100. No elevated risk signals yet.
Related CVEs
- CVE-2026-58661 MEDIUM 4.3 UPGRADE n8n before 2.28.0 (and before 1.123.58 on the 1.x branch) contains a disk space exhaustion vulnerability in th
- CVE-2026-56353 MEDIUM 4.8 UPGRADE n8n contains an authentication bypass in the Chat Trigger node when configured with n8n User Auth (a non-defau
- CVE-2026-59259 MEDIUM 6.5 UPGRADE n8n before versions 1.123.61, 2.27.4, and 2.28.1 contains a permission bypass vulnerability in external secret
- CVE-2026-65590 CRITICAL 9.8 UPGRADE n8n before 2.29.8 and 2.30.x before 2.30.1 does not enforce shell sandbox restrictions on Linux and Windows in
- CVE-2026-65591 HIGH 8.8 UPGRADE n8n contains a sanitizer bypass vulnerability in the legacy expression evaluator's computed-member handler