Skip to main content

mcp-documentation-server CVE-2026-142222

| EUVDEUVD-2026-141608 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-12-02 VulnCheck GHSA-79m2-2g33-wxgf
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach unauthenticated /api/documents or add_document tool
  2. Delivery
    Store document with malicious title
  3. Exploit
    Victim searches or views documents in web UI
  4. Execution
    Unescaped title renders in index.html
  5. Persist
    Script executes in victim browser
  6. Impact
    Read, add, or delete documents as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two concrete conditions: (1) an attacker stores a crafted document title via the unauthenticated /api/documents HTTP endpoint (reachable through a cross-site POST / CSRF) or via the add_document MCP tool - no credentials are needed to write; and (2) a legitimate user of the web UI must subsequently search for or open documents, because the payload only executes when the stored title is rendered unescaped in src/public/index.html. The required victim interaction (UI:P) is the principal limiting factor: the script does not fire on storage alone. Impact is bounded to actions available in the document web UI (read, add, delete documents) in the victim's browser context; there is no availability impact and no server-side privilege escalation described.

Impact

This is a medium-severity stored XSS (CVSS 4.0 base 5.3, CWE-79) in a niche open-source MCP server, and the signals are internally consistent: the input CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:P, meaning network-reachable, low-complexity, no privileges, but requiring victim interaction (a user must search or view documents for the stored payload to fire). The vuln.today Decision label is 'this_month' rather than act_now/emergency, and the vulnerability is NOT listed in CISA KEV; no EPSS score was supplied in the input. There is no confirmed public exploit code - the references are the vendor (VulnCheck) advisory and three GitHub source-line pointers to v1.15.3/src/public/index.html, not a working PoC - so this is best characterized as a disclosed-but-not-yet-exploited issue. The real-world risk is moderated by three factors that pull against the unauthenticated-write vector: the payload only executes against users of the web UI (UI:P), the impact metrics are all Low (VC:L/VI:L and subsequent SC:L/SI:L, availability N), and the affected product is a small hobby/open-source MCP documentation server with a limited deployment footprint. Net: a legitimate issue to patch on a normal cadence, not a high-CVSS-but-illusory finding and not an emergency. Note: no EPSS, KEV, or verified PoC data was provided, so exploitation likelihood is inferred from the vector and advisory only.

Exploit ScenarioDerived

An attacker sends a cross-site forged POST (no authentication required) to the server's /api/documents endpoint, or invokes the add_document MCP tool, storing a document whose title contains malicious markup. When a legitimate user later searches for or opens documents in the web UI, the title is rendered unescaped in src/public/index.html and the script executes in that user's browser, allowing actions to read, add, or delete documents as the victim. No verified public exploit code is identified at time of analysis; only the vendor advisory and source-line references exist.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Stored cross-site scripting in mcp-documentation-server through 1.15.3 allows remote attackers to persist malicious markup in document titles through the unauthenticated /api/documents endpoint or the add_document MCP tool; the script executes when a legitimate user searches for or opens documents in the web UI. The impact is bounded to the victim's browser session in the document UI, where script can read, add, or delete documents, and victim interaction is required for execution. No public exploit identified at time of analysis; the issue is medium severity (CVSS 4.0 base 5.3).

RemediationAI

No vendor-released patch identified at time of analysis; the available references point to vulnerable code lines in src/public/index.html and a VulnCheck advisory rather than a fixed release. Until a fixed version is published, restrict network access to the MCP documentation server and its web UI to trusted users or networks, and place authentication/authorization in front of /api/documents and the add_document MCP path so unauthenticated cross-site writes are blocked-trade-off: this changes the intended open access model and may break integrations. As a code-level mitigation, escape or sanitize document titles before rendering in src/public/index.html and/or enforce a restrictive Content-Security-Policy on the UI-trade-off: CSP may break legitimate inline scripts unless carefully scoped. Monitor the vendor repository and the VulnCheck advisory for a patched release.

Affected VersionsENISA

mcp-documentation-server 0 ≤1.15.3

Affected Packages

euvd mcp_documentation_server no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is an open-source Model Context Protocol documentation server identified by CPE cpe:2.3:a:andrea9293:mcp-documentation-server:*:*:*:*:*:*:*:*. Document titles are stored via the unauthenticated /api/documents HTTP endpoint-reachable through a cross-site POST/CSRF-or via the add_document MCP tool, then rendered without escaping in src/public/index.html, with the referenced vulnerable rendering locations at lines 885-898, 989-996, and 1203-1206. This is CWE-79 stored XSS: attacker-controlled markup is saved server-side and executed in the browser of a user who later searches or views documents. The trigger requires victim interaction; there is no availability impact and no server-side privilege escalation described. Affected versions are 0 through 1.15.3.

Know when Mcp Documentation Server gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.1 MEDIUM

Unauthenticated remote storage (PR:N, AV:N, AC:L) but payload fires only when a victim views documents (UI:R); script runs in the victim's browser authority (S:C) with limited read/write impact (C:L/I:L, A:N).

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.5%
Top 54% exploitable
Prevalence
Low
individual-maintained open-source MCP server, limited niche deployment footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy