DeepChat — Xss (CVE-2025-66222)
Date: 2025-12
Affected: thinkinai/deepchat
Attack vector: xss
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2025-66222
CWE: CWE-79
CWE-94
CVSS: 9.6 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H)

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.


Mitigations:

Architectural layers (MAESTRO):