{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-66580 exists.","fix":"No fix has been published for CVE-2025-66580 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2025-66580 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-66580 exists.\n\nAffected product: OpenAgentPlatform Dive. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-66580/ (Markdown: https://insights.sbomify.com/CVE-2025-66580/index.md)","id":"CVE-2025-66580","markdown":"https://insights.sbomify.com/CVE-2025-66580/index.md","name":"CVE-2025-66580","record":{"aliases":["GHSA-xv8m-365j-x6h2"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"MCP Host Desktop Application","requires_auth":"none","summary":"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.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"dive","vendor":"openagentplatform"}],"cvss":{"score":9.7,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Dive has Cross-Site Scripting vulnerability that can escalate to Remote Code Execution","id":"CVE-2025-66580","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Frappe LMS is Missing Server-Side Authorization in Business Logic","id":"CVE-2025-66581"},"packages":[],"prev":{"headline":"robrichards/xmlseclibs has an Libxml2 Canonicalization error which can bypass Digest/Signature validation","id":"CVE-2025-66578"},"products":["Dive"],"published":"2025-12-19","related":[{"cvss_score":9.7,"headline":"Dive allows One-click Remote Code Execution through Deep Links for MCP Install","id":"CVE-2026-23523","kev_date_added":null,"published":"2026-01-16"},{"cvss_score":8.8,"headline":"Dive's improper processing of custom urls can lead to Remote Code Execution","id":"CVE-2025-58176","kev_date_added":null,"published":"2025-09-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-12-19","vendors":["OpenAgentPlatform"]},"summary":"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.","url":"https://insights.sbomify.com/CVE-2025-66580/"}