CVE-2026-42235

HIGH CVSS 4.0: 8.8 EPSS 0.33%
Updated Jun 17, 2026
N8N
Parameter Value
CVSS 8.8 (HIGH)
Affected Versions 2.17.0 — 2.17.4
Fixed In 1.123.32
Type CWE-87, CWE-79 (Cross-Site Scripting (XSS))
Vendor N8N
Public PoC No

n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, an unauthenticated attacker could register a malicious MCP OAuth client with a crafted client_name. If a victim user authorized the OAuth consent dialog and a second user subsequently revoked that access, a toast notification would render the injected script.

Clicking the link would execute arbitrary JavaScript in the victim's authenticated n8n browser session, enabling credential and session token theft, workflow manipulation, or privilege escalation. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
Active
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Vulnerable Products 3

Configuration From (including) Up to (excluding)
N8n N8n
cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*
— 1.123.32
N8n N8n
cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*
2.17.0 2.17.4
N8n N8n
cpe:2.3:a:n8n:n8n:2.18.0:*:*:*:enterprise:node.js:*:*
— —