CVE-2026-65597N8n
High 8.2
Follow: this CVE · N8n · N8n We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 4.0
- 8.2
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 22, 2026
- Updated
- Oct 29, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for N8n.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | n8n |
< 1.123.64 |
1.123.64 |
npm install n8n@1.123.64 |
| npm | n8n |
≥ 2.30.0 < 2.30.1 |
2.30.1 |
npm install n8n@2.30.1 |
| npm | n8n |
≥ 2.0.0-rc.0 < 2.29.8 |
2.29.8 |
npm install n8n@2.29.8 |
Per OSV / GitHub Advisories (GHSA-p3rg-hrf9-w9gj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| n8n | n8n | < 1.123.64 |
| n8n | n8n | < 1.123.64 |
| n8n | n8n | ≥ 2.0.0 < 2.29.8 |
| n8n | n8n | ≥ 2.0.0 < 2.29.8 |
| n8n | n8n | 2.30.0 |
| n8n | n8n | 2.30.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Vendor Advisory
- www.vulncheck.com Third Party Advisory