Critical severity · published Dec 9, 2025
CVE-2025-66481
DeepChat's Incomplete XSS Fix Allows RCE through Mermaid Content
9.6
CVSS
0.6%
EPSS
No
On KEV
Description
DeepChat is an open-source AI chat platform that supports cloud models and LLMs. Versions 0.5.1 and below are vulnerable to XSS attacks through improperly sanitized Mermaid content. The recent security patch for MermaidArtifact.vue is insufficient and 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, bypassing the regex filter intended to strip dangerous attributes. There is no fix at time of publication.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 47% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DE
deepchat · ThinkInAIXYZ
<= 0.5.1 · source: vendor, NVD
Affected product
DE
deepchat
ThinkInAIXYZ
More from deepchat
9.6
CVE-2026-43899
DeepChat: Incomplete Fix for CVE-2025-55733 leads to Remote Code Execution via Markdown Links bypassing `isValidExternalUrl`
9.6
CVE-2025-67744
Mermaid XSS vulnerability leads to Remote Code Execution
9.6
CVE-2025-66222
DeepChat Cross-Site Scripting(XSS) escalate to Remote Code Execution(RCE)
9.3
CVE-2026-43900
DeepChat: Persistent DOM XSS via HTML Entity Encoding in `<antArtifact>` SVG Rendering (Bypass of `svgSanitizer.ts`)