CVE-2025-66580 Dive has Cross-Site Scripting vulnerability that can escalate to Remote Code Execution
Stored XSS in Dive's Mermaid renderer allows attackers to inject JavaScript via malicious MCP configs, leading to remote code execution on the victim's machine.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-66580?
CVE-2025-66580 is a critical cross-site scripting vulnerability in OpenAgentPlatform Dive, published on 19 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Which versions are affected by CVE-2025-66580?
It affects 1 product.
Products include Openagentplatform Dive.
How do I fix CVE-2025-66580?
No fix has been published for CVE-2025-66580 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-66580 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-66580 exists.
Other vulnerabilities in OpenAgentPlatform Dive
Sources
Also known as GHSA-xv8m-365j-x6h2.