Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 76%

CVE-2026-42235: CWE-87: Improper Neutralization of Alternate XSS Syntax in n8n-io n8n

0
High
VulnerabilityCVE-2026-42235cvecve-2026-42235cwe-87cwe-79
Published: Mon May 04 2026 (05/04/2026, 18:38:09 UTC)
Source: CVE Database V5
Vendor/Project: n8n-io
Product: n8n

Description

CVE-2026-42235 is a high-severity vulnerability in the n8n workflow automation platform affecting versions prior to 1.123.32, 2.17.4, and 2.18.1. It allows an unauthenticated attacker to register a malicious OAuth client with a crafted client_name that leads to improper neutralization of alternate XSS syntax. When a victim user authorizes the OAuth consent and another user revokes access, a toast notification renders injected script, enabling execution of arbitrary JavaScript in the victim's authenticated session. This can result in credential and session token theft, workflow manipulation, or privilege escalation.

CVSS v4.0

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
Low
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L

Affected software

Affected versions
<1.123.32

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/12/2026, 06:25:34 UTC

Technical Analysis

This vulnerability involves improper neutralization of alternate cross-site scripting (XSS) syntax (CWE-87) in n8n's OAuth client registration process. An attacker can register a malicious OAuth client with a crafted client_name that, upon specific user interactions (authorization followed by revocation), triggers a toast notification rendering injected JavaScript. This script executes in the context of the victim's authenticated browser session, potentially allowing theft of credentials and session tokens, manipulation of workflows, or escalation of privileges. The vulnerability affects n8n versions before 1.123.32, 2.17.4, and 2.18.1 and has been addressed in these versions.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the victim's authenticated n8n session, leading to credential and session token theft, workflow manipulation, and privilege escalation. This compromises the confidentiality and integrity of the affected system and user data.

Mitigation Recommendations

A fix is available and has been released in n8n versions 1.123.32, 2.17.4, and 2.18.1. Users should upgrade to these or later versions to remediate this vulnerability. No additional vendor advisory content is provided, so patching is the primary recommended mitigation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-25T05:37:12.117Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69f8eab1cbff5d8610415b90

Added to database: 5/4/2026, 6:51:29 PM

Last enriched: 5/12/2026, 6:25:34 AM

Last updated: 6/18/2026, 9:59:47 PM

Views: 99

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses