CVE-2025-66481

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:thinkinai:deepchat:*:*:*:*:*:*:*:*

History

11 Dec 2025, 18:47

Type Values Removed Values Added
First Time Thinkinai deepchat
Thinkinai
CPE cpe:2.3:a:thinkinai:deepchat:*:*:*:*:*:*:*:*
References () https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-h9f5-7hhf-fqm4 - () https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-h9f5-7hhf-fqm4 - Vendor Advisory, Exploit

09 Dec 2025, 16:18

Type Values Removed Values Added
References () https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-h9f5-7hhf-fqm4 - () https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-h9f5-7hhf-fqm4 -

09 Dec 2025, 01:16

Type Values Removed Values Added
New CVE

Information

Published : 2025-12-09 01:16

Updated : 2025-12-11 18:47


NVD link : CVE-2025-66481

Mitre link : CVE-2025-66481

CVE.ORG link : CVE-2025-66481


JSON object : View

Products Affected

thinkinai

  • deepchat
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-80

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

CWE-94

Improper Control of Generation of Code ('Code Injection')