Skip to content

CVE-2025-67744 Mermaid XSS vulnerability leads to Remote Code Execution

CriticalCVSS 9.6 EPSS 0.67%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
ThinkInAIXYZ deepchat = < 0.5.3 No fix listed
thinkinai deepchat < 0.5.3 0.5.3

References