Skip to main content
← All vulnerabilities
CVE-2026-42235GHSA-537J-GQPC-P7FQ

n8n: XSS via MCP OAuth client

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.123.32, 2.17.4, 2.18.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • n8n-io n8n

    fixed in 1.123.32; From 2.17.0 · fixed in 2.17.4; From 2.18.0 · fixed in 2.18.1

  • n8nnpm

    fixed in 1.123.32

  • n8nnpm

    From 2.18.0 · fixed in 2.18.1

  • n8nnpm

    From 2.17.0 · fixed in 2.17.4

References 1

GitHub · n8n-io/n8n