Mermaid XSS vulnerability leads to Remote Code Execution
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
DeepChat is an open-source artificial intelligence agent platform that unifies models, tools, and agents. Prior to version 0.5.3, a security vulnerability exists in the Mermaid diagram rendering component that allows arbitrary JavaScript execution. Due to the exposure of the Electron IPC renderer to the DOM, this Cross-Site Scripting (XSS) flaw escalates to full Remote Code Execution (RCE), allowing an attacker to execute arbitrary system commands. Two concurrent issues, unsafe Mermaid configuration and an exposed IPC interface, cause this issue. Version 0.5.3 contains a patch.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ThinkInAIXYZ | deepchat | before 0.5.3 | 0.5.3 | Patch available | CNA |
- deepchat VendorThinkInAIXYZ Affected before 0.5.3 Fixed in 0.5.3 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:thinkinai:deepchat:*:*:*:*:*:*:*:* | before 0.5.3 | Vulnerable | ThinkInAIXYZ |
- cpe:2.3:a:thinkinai:deepchat:*:*:*:*:*:*:*:* Versions before 0.5.3 Vulnerable ·ThinkInAIXYZ
Remediation
- Fix · CNA deepchat (ThinkInAIXYZ) Fixed in 0.5.3
Timeline
- 2026-10-02 Threatist record created from CVE-2025-67744
- 2026-10-29 EPSS moved to the 50th–90th percentile
References
More ThinkInAIXYZ Deepchat vulnerabilities
- TI-2025-40905 DeepChat's Incomplete XSS Fix Allows RCE through Mermaid Content CVSS 3.1CRITICAL 9.7
- TI-2025-40724 DeepChat Cross-Site Scripting(XSS) escalate to Remote Code Execution(RCE) CVSS 3.1CRITICAL 9.7
- TI-2025-35154 DeepChat One-click Remote Code Execution through Custom URL Handling CVSS 3.1CRITICAL 9.7
- TI-2025-36426 DeepChat's Mermaid rendering has XSS leading to RCE CVSS 3.1CRITICAL 9.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences