CVE-2025-66222

DeepChat is a smart assistant uses artificial intelligence. In 0.5.0 and earlier, there is a Stored Cross-Site Scripting (XSS) vulnerability in the Mermaid diagram renderer allows an attacker to execute arbitrary JavaScript within the application context. By leveraging the exposed Electron IPC bridge, this XSS can be escalated to Remote Code Execution (RCE) by registering and starting a malicious MCP (Model Context Protocol) server.
Configurations

Configuration 1 (hide)

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

History

05 Dec 2025, 15:37

Type Values Removed Values Added
CWE CWE-79
First Time Thinkinai deepchat
Thinkinai
CPE cpe:2.3:a:thinkinai:deepchat:*:*:*:*:*:*:*:*
References () https://github.com/ThinkInAIXYZ/deepchat/commit/371ca7b42e3685aee6e3f0c61e85277ed1ff4db7 - () https://github.com/ThinkInAIXYZ/deepchat/commit/371ca7b42e3685aee6e3f0c61e85277ed1ff4db7 - Patch
References () https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-v8v5-c872-mf8r - () https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-v8v5-c872-mf8r - Exploit, Vendor Advisory

03 Dec 2025, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-12-03 19:15

Updated : 2025-12-05 15:37


NVD link : CVE-2025-66222

Mitre link : CVE-2025-66222

CVE.ORG link : CVE-2025-66222


JSON object : View

Products Affected

thinkinai

  • deepchat
CWE
CWE-94

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

CWE-79

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