CVE-2025-67744 Mermaid XSS vulnerability leads to Remote Code Execution
An XSS vulnerability in the Mermaid renderer allows arbitrary JavaScript execution, escalating to Remote Code Execution via exposed IPC interfaces.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-67744?
CVE-2025-67744 is a critical cross-site scripting vulnerability in ThinkInAIXYZ deepchat, published on 16 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.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2025-67744?
It affects 1 product.
Products include Thinkinai Deepchat.
How do I fix CVE-2025-67744?
No fix has been published for CVE-2025-67744 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-67744 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-67744 exists.
Other vulnerabilities in ThinkInAIXYZ deepchat
- CVE-2025-66481 DeepChat's Incomplete XSS Fix Allows RCE through Mermaid Content
- CVE-2025-66222 DeepChat Cross-Site Scripting(XSS) escalate to Remote Code Execution(RCE)
- CVE-2025-58768 DeepChat's Mermaid rendering has XSS leading to RCE
- CVE-2025-55733 DeepChat One-click Remote Code Execution through Custom URL Handling
Sources
Also known as GHSA-w8w8-82pv-5rg9.