mcp-cve-project

CVE-2025-66580 | Dive MCP Host (Mermaid XSS → malicious MCP config / RCE) | Critical | 9.6

CVE Information

Field Value
CVE / NVD CVE-2025-66580
Date (index) 2025-12-19
Affected product (index) Dive MCP Host (Mermaid XSS → malicious MCP config / RCE)
GHSA ID GHSA-xv8m-365j-x6h2
OWASP MCP Top 10 (2025) MCP06 — Prompt Injection via Contextual Payloads
Published / disclosed 2025-12-19
Ecosystem Application / upstream project
Component Dive MCP Host (Mermaid XSS → malicious MCP config / RCE)
EPSS score 0.004780000 (FIRST EPSS, 2026-06-30)
CVSS score 9.6 CRITICAL CVSS v3.1 (NVD)
CWE CWE-94
Affected versions Dive < 0.11.1
Fixed versions 0.11.1
Fix status Patched
Exploit status Public CVE record
Notes Indexed from 2026-05-29 gap review backlog. Re-check NVD before compliance reporting.

CVE Breakdown


What is the vulnerability?

Dive is an open-source MCP Host Desktop Application that enables integration with function-calling LLMs. A critical Stored Cross-Site Scripting (XSS) vulnerability exists in versions prior to 0.11.1 in the Mermaid diagram rendering component. The application allows the execution of arbitrary JavaScript via javascript:. An attacker can exploit this to inject a malicious Model Context Protocol (MCP) server configuration, leading to Remote Code Execution (RCE) on the victim’s machine when the node is clicked. Version 0.11.1 fixes the issue.

Attack prerequisites / exposure

Exposure depends on deployment: network reachability, ability to influence MCP configuration or tool arguments, and whether the MCP server/client runs with access to sensitive host resources, credentials, or internal networks.

CVE is because of what bug?

Confirm exact weakness in the NVD record and linked advisory. Primary CWE mapping: CWE-94.

MCP-specific impact / why it matters

MCP clients and servers bridge model-driven workflows to privileged tools and local execution. Weaknesses in auth, transport trust, or command handling can let untrusted content or users reach host execution, data exfiltration, or unauthorized tool invocation.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory diff.

Fix / Remediation

Upgrade to the vendor-fixed version where available. Restrict MCP components to trusted users and networks; validate tool inputs; run with least privilege.

Upstream fix (open source)

Workarounds / mitigations

Exploit / PoC

Public advisories exist; do not host weaponized payloads in this repository.

Detection / verification

Patch

See NVD references and vendor release notes for CVE-2025-66580.