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.
References
Link | Resource |
---|---|
https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-f7q5-vc93-wp6j | Exploit Vendor Advisory |
Configurations
History
18 Sep 2025, 20:26
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:thinkinai:deepchat:*:*:*:*:*:*:*:* | |
CWE | CWE-79 | |
References | () https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-f7q5-vc93-wp6j - Exploit, Vendor Advisory | |
First Time |
Thinkinai deepchat
Thinkinai |
09 Sep 2025, 21:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-09-09 21:15
Updated : 2025-09-18 20:26
NVD link : CVE-2025-58768
Mitre link : CVE-2025-58768
CVE.ORG link : CVE-2025-58768
JSON object : View
Products Affected
thinkinai
- deepchat