AploSec / Disclosures / CVE-2026-142222

Medium 5.3ReportedNo fix listedCWE-79npm

mcp-documentation-server through 1.15.3 Stored XSS via Document Titles in Web UI

CVE-2026-142222 · published 2026-12-02

In plain words: this type of bug lets someone run scripts in another person's browser (cross-site scripting, XSS). No fixed release is listed yet.

Summary

CVE-2026-142222 affects mcp-documentation-server (npm) <= 1.15.3: Stored XSS via Document Titles in Web UI (CWE-79). 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 stored cross-site scripting vulnerability that allows attackers to inject script by setting malicious document titles rendered unescaped in src/public/index.html. Attackers can store markup via cross-site POSTs to the unauthenticated /api/documents endpoint or the add_document tool, executing script when users search or view documents to read, add, or delete documents.

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

Severity
Medium 5.3CVSS 4.0, scored by VulnCheck in the CVE record
Package
mcp-documentation-server
Ecosystem
npm
Affected
<= 1.15.3
Fixed
None
Weakness
CWE-79
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder