{"id":"CVE-2025-66481","aliases":["CVE-2025-66481"],"related":[],"kind":"vulnerability","state":"published","title":"DeepChat's Incomplete XSS Fix Allows RCE through Mermaid Content","summary":"DeepChat is an open-source AI chat platform that supports cloud models and LLMs. Versions 0.5.1 and below are vulnerable to XSS attacks through improperly sanitized Mermaid content. The recent security patch for MermaidArtifact.vue is insufficient and can be bypassed using unquoted HTML attributes combined with HTML entity encoding. Remote Code Execution is possible on the victim's machine via the electron.ipcRenderer interface, bypassing the regex filter intended to strip dangerous attributes. There is no fix at time of publication.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"DeepChat is an open-source AI chat platform that supports cloud models and LLMs. Versions 0.5.1 and below are vulnerable to XSS attacks through improperly sanitized Mermaid content. The recent security patch for MermaidArtifact.vue is insufficient and can be bypassed using unquoted HTML attributes combined with HTML entity encoding. Remote Code Execution is possible on the victim's machine via the electron.ipcRenderer interface, bypassing the regex filter intended to strip dangerous attributes. There is no fix at time of publication.","source":"cvelist"},{"lang":"es","text":"DeepChat es una plataforma de chat de IA de código abierto que soporta modelos en la nube y LLMs. Las versiones 0.5.1 e inferiores son vulnerables a ataques de XSS a través de contenido Mermaid incorrectamente saneado. El reciente parche de seguridad para MermaidArtifact.vue es insuficiente y puede ser eludido usando atributos HTML sin comillas combinados con codificación de entidades HTML. La ejecución remota de código es posible en la máquina de la víctima a través de la interfaz electron.ipcRenderer, eludiendo el filtro de expresiones regulares destinado a eliminar atributos peligrosos. No hay solución en el momento de la publicación.","source":"nvd"}],"published":"2025-12-09T00:25:08.301Z","modified":"2026-10-07T20:10:01.970Z","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"}],"cwes":["CWE-79","CWE-80","CWE-94"],"affected":[{"ranges":[{"version":"<= 0.5.1","status":"affected"}],"vendor":"ThinkInAIXYZ","product":"deepchat","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"0.5.1"}],"vendor":"thinkinai","product":"deepchat","cpe":"cpe:2.3:a:thinkinai:deepchat:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-h9f5-7hhf-fqm4","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-12-09T14:17:46.241Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66481","url":"https://www.cve.org/CVERecord?id=CVE-2025-66481","licence":"CVE Terms of Use","modified":"2025-12-09T16:03:38.736Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66481","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66481","licence":"Public domain","modified":"2026-10-07T20:10:01.970Z"}],"updatedAt":"2026-11-25T22:59:08.458Z","epss":{"score":0.00622,"percentile":0.51135,"date":"2026-12-01T12:00:22.000Z"}}