Home

Description

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.

PUBLISHED Reserved 2025-12-02 | Published 2025-12-09 | Updated 2025-12-09 | Assigner GitHub_M




CRITICAL: 9.7CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Problem types

CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-94: Improper Control of Generation of Code ('Code Injection')

Product status

<= 0.5.1
affected

References

github.com/...epchat/security/advisories/GHSA-h9f5-7hhf-fqm4 exploit

github.com/...epchat/security/advisories/GHSA-h9f5-7hhf-fqm4

cve.org (CVE-2025-66481)

nvd.nist.gov (CVE-2025-66481)

Download JSON