CVE-2025-58768: DeepChat is a smart assistant uses artificial intelligence
CVE-2025-58768 is a critical-severity flaw (CVSS 9.6) affecting deepchat. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 an
Why this priority
- Critical severity
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-58768?
deepchat: upgrade to 0.3.5. Exact commands for each OS are on this page.
Is CVE-2025-58768 being exploited?
CVE-2025-58768 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-58768 affect?
CVE-2025-58768 affects deepchat. Severity is critical (CVSS 9.6). 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 ren
How urgent is CVE-2025-58768?
Priority 51/100. Critical severity; Public exploit reference
Related CVEs
- CVE-2025-66222 CRITICAL 9.6 UPGRADE DeepChat is a smart assistant uses artificial intelligence
- CVE-2025-66481 CRITICAL 9.6 UPGRADE DeepChat is an open-source AI chat platform that supports cloud models and LLMs
- CVE-2025-67744 CRITICAL 9.6 UPGRADE DeepChat is an open-source artificial intelligence agent platform that unifies models, tools, and agents
- CVE-2025-55733 CRITICAL 9.6 DOWNGRADE DeepChat is a smart assistant that connects powerful AI to your personal world