CVE-2025-67744
CriticalSummary
DeepChat before version 0.5.3 contains an XSS vulnerability in the Mermaid diagram rendering component, which escalates to full Remote Code Execution (RCE) due to the exposure of the Electron IPC renderer to the DOM. An attacker can execute arbitrary system commands.
Risk Assessment
The risk is critical because an attacker can take over the user's system by executing arbitrary commands, potentially leading to data theft or full compromise.
Recommendation
Immediately upgrade DeepChat to version 0.5.3 or later, which includes a patch.
Other vulnerabilities in DeepChat
See all- CVE-2026-43899Critical
DeepChat prior to version 1.0.4-beta.1 is vulnerable to an arbitrary protocol execution bypass, potentially leading to remote code execution (RCE). The issue arises from improper sanitization of Electron pop-up window handlers, allowing an attacker to intercept a malicious URL.
- CVE-2025-66481Critical
DeepChat versions 0.5.1 and below are vulnerable to XSS attacks through improperly sanitized Mermaid content. The security patch can be bypassed using unquoted HTML attributes combined with HTML entity encoding. Remote Code Execution is possible on the victim's machine via the electron.ipcRenderer interface. No fix is available at time of publication.
- CVE-2025-66222Critical
DeepChat 0.5.0 and earlier has a Stored Cross-Site Scripting (XSS) vulnerability in the Mermaid diagram renderer that allows an attacker to execute arbitrary JavaScript within the application context. By leveraging the exposed Electron IPC bridge, this XSS can be escalated to Remote Code Execution (RCE) by registering and starting a malicious MCP server.
Original NVD description (English source)
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.

