CVE-2026-142222: mcp-documentation-server through 1.15.3 Stored XSS via Document Titles in Web UI

Published Dec 2, 2026
·
Updated

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 adddocument tool, executing script when users search or view documents to read, add, or delete documents.

Affected Software

1 affected component
npm/mcp-documentation-server<=1.15.3

Event History

Dec 2, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Event
via NVD·05:17 PM

Frequently Asked Questions

1

Who can inject a malicious document title?

Any attacker able to send a cross-site POST to the unauthenticated /api/documents endpoint can store malicious markup. The add_document tool can also be used to add a crafted title.

2

When does the stored script execute?

The script executes when a user searches for or views documents in the web UI. Users performing document read, add, or delete activities may therefore trigger the payload.

3

Are unauthenticated deployments exposed by default?

The affected document-creation endpoint is described as unauthenticated, so an attacker does not need credentials to store a malicious title through /api/documents. Exploitation still requires a user to interact with the web UI in a way that renders the title.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203