# CVE-2026-142221: mcp-documentation-server through 1.15.3 CSRF via Web UI Document API

Source: https://aplosec.si/cve/CVE-2026-142221/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142221

Medium 5.3 · Reported · No fix listed · CWE-352 · npm

# mcp-documentation-server through 1.15.3 CSRF via Web UI Document API

CVE-2026-142221 · published 2026-12-02

In plain words: this type of bug lets another website perform actions as a logged-in user (cross-site request forgery, CSRF). No fixed release is listed yet.

## Summary

CVE-2026-142221 affects mcp-documentation-server (npm) <= 1.15.3: CSRF via Web UI Document API (CWE-352). No fixed release is listed. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

mcp-documentation-server through 1.15.3 contains a cross-site request forgery vulnerability that allows remote attackers to modify the local documentation store by abusing an unauthenticated Web UI REST API. Malicious web pages can submit form-encoded POSTs to /api/documents or use DNS rebinding to inject attacker-controlled documents served to the user's AI assistant.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/mcp-documentation-server-through-1.15.3-csrf-via-web-ui-document-api](https://www.vulncheck.com/advisories/mcp-documentation-server-through-1.15.3-csrf-via-web-ui-document-api)

- [Vulnerable codehttps://github.com/andrea9293/mcp-documentation-server/blob/v1.15.3/src/web-server.ts#L24-L30](https://github.com/andrea9293/mcp-documentation-server/blob/v1.15.3/src/web-server.ts#L24-L30)

- [Vulnerable codehttps://github.com/andrea9293/mcp-documentation-server/blob/v1.15.3/src/web-server.ts#L95-L108](https://github.com/andrea9293/mcp-documentation-server/blob/v1.15.3/src/web-server.ts#L95-L108)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142221](https://www.cve.org/CVERecord?id=CVE-2026-142221)

**Severity:** Medium 5.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142221)

**Package:** mcp-documentation-server

**Ecosystem:** npm

**Affected:** <= 1.15.3

**Fixed:** None

**Weakness:** CWE-352

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
