PoC Monitor
← All CVEs
CVE-2026-42235published 4 May 2026 18:38 UTCData: JSON · API

N8n-io n8n

n8n: XSS via MCP OAuth client

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.6critical · scored by NVD · CWE-87
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

n8n-io n8n
  • < 1.123.32
  • >= 2.17.0, < 2.17.4
  • >= 2.18.0, < 2.18.1

Fixed in 1.123.32, 2.17.4, 2.18.1

Mitigation

Upgrade n8n to 1.123.32 or 2.17.4 or 2.18.1 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published4 May 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.