# CVE-2026-42235: n8n: XSS via MCP OAuth client

- Severity: High 8.8 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-04-29T21:23:04.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-537j-gqpc-p7fq
- Weaknesses: CWE-79, CWE-87
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- n8n-io n8n: < 1.123.32; >= 2.17.0, < 2.17.4; >= 2.18.0, < 2.18.1
- n8n (npm): before 1.123.32; from 2.18.0 before 2.18.1; from 2.17.0 before 2.17.4
- n8n n8n: before 1.123.32; from 2.17.0 before 2.17.4; 2.18.0

## Every score

- GitHub_M: CVSS:4.0 8.8 High `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`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-537j-gqpc-p7fq> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42235> (advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2026-42235](https://www.cve.org/CVERecord?id=CVE-2026-42235), CVE Terms of Use, modified 2026-05-05
- GitHub Advisory Database: [GHSA-537j-gqpc-p7fq](https://github.com/advisories/GHSA-537j-gqpc-p7fq), CC-BY-4.0, modified 2026-05-08
- NVD: [CVE-2026-42235](https://nvd.nist.gov/vuln/detail/CVE-2026-42235), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-42235 · Whole record: https://cve.day/CVE-2026-42235.json · Rebuilt by cve.day 2026-11-25T22:59:20.555Z
