Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-42235
Published:May 04, 2026
Updated:June 25, 2026
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.
Affected Packages
n8n (NPM):
Affected version(s) >=0.0.1 <2.18.1
Fix Suggestion:
Update to version 2.18.1
n8n (NPM):
Affected version(s) >=0.0.1 <2.17.4
Fix Suggestion:
Update to version 2.17.4
n8n (NPM):
Affected version(s) >=0.0.1 <1.123.32
Fix Suggestion:
Update to version 1.123.32
n8n (NPM):
Affected version(s) >=0.0.1 <1.123.32
Fix Suggestion:
Update to version 1.123.32
n8n (NPM):
Affected version(s) >=2.17.0 <2.17.4
Fix Suggestion:
Update to version 2.17.4
n8n (NPM):
Affected version(s) =2.18.0 <2.18.1
Fix Suggestion:
Update to version 2.18.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
LOW
CVSS v3
Base Score:
9.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Improper Neutralization of Alternate XSS Syntax
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.33