{"id":"CVE-2026-142222","summary":"mcp-documentation-server through 1.15.3 Stored XSS via Document Titles in Web UI","details":"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.","modified":"2026-12-02T20:45:48.172977308Z","published":"2026-12-02T16:50:23.159Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142222.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142222.json"},{"type":"PACKAGE","url":"https://github.com/andrea9293/mcp-documentation-server"},{"type":"ARTICLE","url":"https://github.com/andrea9293/mcp-documentation-server/blob/v1.15.3/src/public/index.html#L1203-L1206"},{"type":"ARTICLE","url":"https://github.com/andrea9293/mcp-documentation-server/blob/v1.15.3/src/public/index.html#L885-L898"},{"type":"ARTICLE","url":"https://github.com/andrea9293/mcp-documentation-server/blob/v1.15.3/src/public/index.html#L989-L996"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142222"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/mcp-documentation-server-through-1.15.3-stored-xss-via-document-titles-in-web-ui"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/andrea9293/mcp-documentation-server","events":[{"introduced":"0"},{"last_affected":"16db2742ab872774a6f055c87fbc57579b4312ff"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"1.15.3"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v1.15.3","v1.15.2","v1.15.1","v1.15.0","v1.14.0","v1.13.2","v1.13.1","v1.13.0","v1.12.0","v1.11.2","v1.11.1","v1.11.0","v1.10.1","v1.6.0","v1.5.1","v1.5.0","v1.4.0","v1.3.0","v1.2.0","v1.1.1","v1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142222.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}]}