← back
CVE-2025-66481

DeepChat's Incomplete XSS Fix Allows RCE through Mermaid Content

CVSS 9.7 CRITICALEPSS 0.5%CWE-79CWE-80CWE-94
Vexday Risk Score
28Low
SSVC decision (CISA)
Track
No exploitation signal → monitor
CVSS 9.7EPSS 0.5%KEV nãoPoC Nuclei Metasploit Patch
Lifecycle
09 Dec 2025Published on NVD
Recommendation: Monitor — no exploitation signal at the moment.
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:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Affected products
ThinkInAIXYZ · deepchat

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →