Improper Neutralization of Alternate XSS Syntax in n8n - CVE-2026-42235

 

Improper Neutralization of Alternate XSS Syntax in n8n - CVE-2026-42235

Published: April 23, 2026


Vulnerability identifier: #VU127217
CSH Severity: Low
CVSS v4: 7.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-42235
CWE-ID: CWE-87
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary JavaScript in a victim's authenticated browser session.

The vulnerability exists due to improper neutralization of alternate XSS syntax in the MCP OAuth client consent and revocation notification flow when rendering a crafted client_name. A remote attacker can register a malicious MCP OAuth client to execute arbitrary JavaScript in a victim's authenticated browser session.

User interaction is required to authorize the OAuth consent dialog and click the rendered link in the toast notification.


Affected software

n8n

How to mitigate CVE-2026-42235

Install security update from vendor's website.

n8n - addressed in versions 1.123.32, 2.17.4, 2.18.1

External References

Related Security Bulletins