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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142222.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.15.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}