ThinkInAIXYZ DeepChat
DeepChat's Incomplete XSS Fix Allows RCE through Mermaid Content
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.7critical · scored by CNA · CWE-80
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
ThinkInAIXYZ deepchat
- <= 0.5.1
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Vendor advisory github.com/ThinkInAIXYZ/deepchat/security/advi…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.