Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| andrea9293 | mcp-documentation-server | ≤ 1.15.3 | — |
References
- https://github.com/andrea9293/mcp-documentation-server/blob/v1.15.3/src/public/index.html#L989-L996 technical-description
- https://github.com/andrea9293/mcp-documentation-server/blob/v1.15.3/src/public/index.html#L885-L898 technical-description
- https://github.com/andrea9293/mcp-documentation-server/blob/v1.15.3/src/public/index.html#L1203-L1206 technical-description
- VulnCheck Advisory: mcp-documentation-server through 1.15.3 Stored XSS via Document Titles in Web UI third-party-advisory