{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-58768","published":"2025-09-09T21:15:38.957000Z","last_modified":"2026-06-17T09:44:54.320000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.6,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-94","CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:thinkinai:deepchat:*:*:*:*:*:*:*:*","part":"a","vendor":"thinkinai","product":"deepchat","version_end_excluding":"0.3.5"}],"cpes_truncated":false,"vendors":["thinkinai"],"products":["thinkinai/deepchat"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":73,"links":{"html_es":"/es/cve/CVE-2025-58768/","html_en":"/en/cve/CVE-2025-58768/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-58768","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-58768"},"untrusted":{"vendor_name":"Thinkinai","product_name":"Deepchat","desc_en":"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.","affected":[{"untrusted_vendor":"ThinkInAIXYZ","untrusted_product":"deepchat","versions":[]}],"references":[{"url":"https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-f7q5-vc93-wp6j","tags":["Exploit","Vendor Advisory"]}]}}