CVE-2025-66222
JSON

9.7critical

DeepChat Cross-Site Scripting(XSS) escalate to Remote Code Execution(RCE)

Severity
9.7critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.65% (higher than 52% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
ThinkInAIXYZ deepchat< 0.5.0CVE List
thinkinai deepchatup to 0.5.0NVD

All scores

GitHub_M9.7critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD9.6critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Classification

CWE-79CWE-94

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

DeepChat es un asistente inteligente que utiliza inteligencia artificial. En la versión 0.5.0 y anteriores, existe una vulnerabilidad de Cross-Site Scripting (XSS) Almacenado en el renderizador de diagramas Mermaid que permite a un atacante ejecutar JavaScript arbitrario dentro del contexto de la aplicación. Aprovechando el puente IPC de Electron expuesto, este XSS puede escalarse a Ejecución Remota de Código (RCE) mediante el registro y el inicio de un servidor MCP (Model Context Protocol) malicioso.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-66222 changed 2025-12-03CVE Terms of Use
NVDCVE-2025-66222 changed 2026-10-18Public domain