CVE-2025-58768: ThinkInAIXYZ deepchat · Code Injection
Affects ThinkInAIXYZ deepchatSource CVE Database V5
Not known to be exploited · CVSS 9.7 Critical : upgrade to 0.3.5 as a priority.
Data as of 21 Nov 2026, 17:34 UTC
Contested
Critical score, yet low EPSS after six months- EPSS
- 0.5% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.3.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 9 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
Upgrade ThinkInAIXYZ deepchat to 0.3.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ThinkInAIXYZ deepchat | Affected
| Fixed in
|
AI-suggested
European organizations should immediately audit their DeepChat deployments to identify versions prior to 0.3.5. The primary mitigation is to upgrade DeepChat to version 0.3.5 or later, which contains the official fix. Until upgrades can be applied, organizations should implement strict content security policies (CSP) to restrict script execution and prevent unsafe DOM manipulations. Additionally, disable or restrict the use of Mermaid chart rendering if possible, or sanitize all user-generated content before rendering. Network-level controls such as web application firewalls (WAFs) can be tuned to detect and block suspicious payloads targeting the Mermaid component. User training to recognize phishing attempts that may deliver malicious Mermaid content is also critical. Monitoring IPC channels for anomalous activity can help detect exploitation attempts. Finally, organizations should maintain robust endpoint detection and response (EDR) solutions to identify and contain any post-exploitation behaviors.
Description
DeepChat is a smart assistant uses artificial intelligence. Prior to version 0.3.5, in the Mermaid chart rendering component, there is a risky operation of directly using `innerHTML` to set user content. Therefore, any malicious content rendered via Mermaid will directly trigger the exploit chain, leading to command execution. This vulnerability is primarily caused by a failure to fully address the existing XSS issue in the project, leading to another exploit chain. The exploit chain is consistent with the report GHSA-hqr4-4gfc-5p2j, executing arbitrary JavaScript code via XSS and arbitrary commands via exposed IPC. Version 0.3.5 contains an updated fix.