Security mailing lists by PureSourceCode

CVE-2026-42235

HIGH 8.8CVSS 4.0

n8n Vulnerable to 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.

Published
4 May 2026
Last modified
11 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79CWE-87
Also known as
GHSA-537j-gqpc-p7fq
Sources
NVDJSONOSV GHSA-537j-gqpc-p7fqJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 8.8 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD n8n n8n
cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*
< 1.123.32 1.123.32
NVD n8n n8n
cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*
>= 2.17.0, < 2.17.4 2.17.4
NVD n8n n8n
cpe:2.3:a:n8n:n8n:2.18.0:*:*:*:enterprise:node.js:*:*
= 2.18.0
OSV npm n8n < 1.123.32 1.123.32
OSV npm n8n >= 2.18.0, < 2.18.1 2.18.1
OSV npm n8n >= 2.17.0, < 2.17.4 2.17.4

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 4 May 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 29 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.