Cross-Site Scripting Vulnerability in n8n Workflow Automation Platform
CVE-2026-42235

8.8HIGH

Key Information:

Vendor

N8n-io

Status
Vendor
CVE Published:
4 May 2026

What is CVE-2026-42235?

The n8n workflow automation platform is vulnerable to a Cross-Site Scripting (XSS) attack due to improper handling of OAuth client registrations. An unauthenticated attacker could create a malicious OAuth client with a manipulated client_name. If a user grants authorization through the OAuth consent dialog, and another user later revokes this access, a crafted toast notification could execute arbitrary JavaScript in the user's authenticated session. This may lead to serious security risks including credential theft, session token compromise, workflow manipulation, and privilege escalation. The issue has been resolved in versions 1.123.32, 2.17.4, and 2.18.1.

Affected Version(s)

n8n < 1.123.32 < 1.123.32

n8n >= 2.17.0, < 2.17.4 < 2.17.0, 2.17.4

n8n >= 2.18.0, < 2.18.1 < 2.18.0, 2.18.1

References

CVSS V4

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.