{"id":"CVE-2025-66222","aliases":["CVE-2025-66222"],"related":[],"kind":"vulnerability","state":"published","title":"DeepChat Cross-Site Scripting(XSS) escalate to Remote Code Execution(RCE)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-12-03T18:34:44.019Z","modified":"2026-10-18T17:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.7,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.7,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"}],"cwes":["CWE-79","CWE-94"],"affected":[{"ranges":[{"version":"< 0.5.0","status":"affected"}],"vendor":"ThinkInAIXYZ","product":"deepchat","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"0.5.0"}],"vendor":"thinkinai","product":"deepchat","cpe":"cpe:2.3:a:thinkinai:deepchat:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-v8v5-c872-mf8r","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ThinkInAIXYZ/deepchat/commit/371ca7b42e3685aee6e3f0c61e85277ed1ff4db7","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-12-03T19:10:00.682Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66222","url":"https://www.cve.org/CVERecord?id=CVE-2025-66222","licence":"CVE Terms of Use","modified":"2025-12-03T19:10:17.039Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66222","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66222","licence":"Public domain","modified":"2026-10-18T17:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:08.241Z","epss":{"score":0.00651,"percentile":0.52499,"date":"2026-12-01T12:00:22.000Z"}}