cvedb.io
CVE-2025-58768
CRITICAL · CVSS 9.6
EPSS exploitation probability: 0%
Published 2025-09-09T21:15:38.957 · Last modified 2026-06-17T09:44:54.320

Summary

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 products

thinkinai — deepchat

Does this affect you?

Add your gear to cvedb and we'll alert you only when thinkinai ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.