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 package | Versions | Reported by |
|---|---|---|
| ThinkInAIXYZ deepchat | < 0.5.0 | CVE List |
| thinkinai deepchat | up to 0.5.0 | NVD |
All scores
| GitHub_M | 9.7critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 9.6critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-66222 changed 2025-12-03 | CVE Terms of Use |
| NVD | CVE-2025-66222 changed 2026-10-18 | Public domain |