CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025

CVE-2025-66481
Thinkinai Deepchat vulnerability

DeepChat is an open-source AI chat platform that supports cloud models and LLMs. Versions 0.5.1 and below are vulnerable to XSS attacks through improperly sanitized Mermaid content. The recent security patch for MermaidArtifact.vue is insufficient and can be bypassed using unquoted HTML attributes combined with HTML entity encoding. Remote Code Execution is possible on the victim's machine via the electron.ipcRenderer interface, bypassing the regex filter intended to strip dangerous attributes. There is no fix at time of publication.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Deepchat. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Thinkinai Deepchat runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.