CVE-2025-66481

CRITICAL CVSS 3.1: 9.6 EPSS 0.58%
Updated Oct 07, 2026
Thinkinai
Parameter Value
CVSS 9.6 (CRITICAL)
Affected Versions before 0.5.1
Type CWE-79 (Cross-Site Scripting (XSS)), CWE-80 (Improper Neutralization of Script-Related HTML Tags (XSS)), CWE-94 (Code Injection)
Vendor Thinkinai
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Thinkinai Deepchat
cpe:2.3:a:thinkinai:deepchat:*:*:*:*:*:*:*:*
— <= 0.5.1