Host command execution via loose Mermaid rendering
Published Dec 23, 2025 · Updated Dec 23, 2025
Cross-site scripting in 5ire 0.15.2 and earlier allows remote attackers to execute host commands through crafted Mermaid markup. The useMarkdown.ts hook initializes markdown-it-mermaid with loose security, allowing node HTML event handlers to run JavaScript that invokes exposed electron.mcp methods. Exploitation requires attacker-controlled Markdown to be rendered in the desktop client; successful execution can register and activate an MCP server command on the host.
Summary
What happened
Cross-site scripting in 5ire 0.15.2 and earlier allows remote attackers to execute host commands through crafted Mermaid markup. The useMarkdown.ts hook initializes markdown-it-mermaid with loose security, allowing node HTML event handlers to run JavaScript that invokes exposed electron.mcp methods. Exploitation requires attacker-controlled Markdown to be rendered in the desktop client; successful execution can register and activate an MCP server command on the host.
The record
- CVE
- CVE-2025-68669
- Published
- Dec 23, 2025
- Updated
- Dec 23, 2025
- Vendor
- nanbingxyz
- Product
- 5ire
- Classifications
- CWE-79, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 23, 2025CVE publishedPublication date reported by the CVE source.
- Dec 23, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=<= 0.15.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-5hpf-p8fw-j349 Mermaid command-execution proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo