CVE-2026-65597
Published:July 22, 2026
Updated:August 04, 2026
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.
Affected Packages
n8n (NPM):
Affected version(s) >=0.0.1 <1.123.64Fix Suggestion:
Update to version 1.123.64n8n (NPM):
Affected version(s) >=2.0.0-rc.0 <2.29.8Fix Suggestion:
Update to version 2.29.8n8n (NPM):
Affected version(s) >=2.0.0 <2.29.8Fix Suggestion:
Update to version 2.29.8n8n (NPM):
Affected version(s) =2.30.0 <2.30.1Fix Suggestion:
Update to version 2.30.1Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.21