CVE-2026-65597 json
n8n before 1.123.64 DOM-Based XSS via Unsandboxed iframe
published 2026-07-22 3 mo ago modified 2026-10-29 10 d ago also GHSA-p3rg-hrf9-w9gj , EUVD-2026-47641
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 22%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm n8n 1.123.64, 2.29.8, 2.30.1
- n8n-io n8n 1.123.64, 2.29.8, 2.30.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.2 | 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 |
| CNA | 4.0 | 8.2 | 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 |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | n8n | <1.123.64 >=2.30.0, <2.30.1 >=2.0.0-rc.0, <2.29.8 |
1.123.64 2.30.1 2.29.8 |
Affected products
- n8n-io n8n
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/n8n-io/n8n/security/advisories/GHSA-p3rg-hrf9-w9gj
vendor-advisory, web, mitigation
-
vulncheck.com
/advisories/n8n-before-dom-based-xss-via-unsandboxed-iframe
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-65597
advisory
-
github.com
/n8n-io/n8n
package
-
github.com
/n8n-io/n8n/releases/tag/n8n@1.123.64
web
-
github.com
/n8n-io/n8n/releases/tag/n8n@2.29.8
web
-
github.com
/n8n-io/n8n/releases/tag/n8n@2.30.1
web
Sources
- CVE List CVE-2026-65597
- GitHub Advisory GHSA-p3rg-hrf9-w9gj
- NVD CVE-2026-65597
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.