CRITICAL🇵🇱 Wersja polska

CVE-2025-67744

CVSS 9.6v3.1pub. 2025-12-16upd. 2026-01-02

DeepChat is an open-source artificial intelligence agent platform that unifies models, tools, and agents. Prior to version 0.5.3, a security vulnerability exists in the Mermaid diagram rendering component that allows arbitrary JavaScript execution. Due to the exposure of the Electron IPC renderer to the DOM, this Cross-Site Scripting (XSS) flaw escalates to full Remote Code Execution (RCE), allowing an attacker to execute arbitrary system commands. Two concurrent issues, unsafe Mermaid configuration and an exposed IPC interface, cause this issue. Version 0.5.3 contains a patch.

🤖 AI Analysis
How it works

The vulnerability results from two coexisting issues: unsafe configuration of the Mermaid library and exposed IPC (Inter-Process Communication) interface of the Electron application in the DOM context. An attacker can inject malicious JavaScript code through the vulnerable Mermaid diagram rendering component (CWE-94 — code injection). Since the Electron IPC renderer is directly accessible from the DOM level, the injected script can communicate with the application's main process and execute arbitrary system commands without proper isolation.

Impact

An attacker can gain full control over the victim's system by executing arbitrary system commands — resulting in complete compromise of confidentiality, integrity and availability of the system (C:H/I:H/A:H).

Mitigation & patch

DeepChat should be updated to version 0.5.3, which contains a patch addressing both causes of the vulnerability (safe Mermaid configuration and limited exposure of the IPC interface). Details available in vendor references on GitHub.

Who is affected

Thinkinai DeepChat in versions before 0.5.3

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Thinkinai Deepchat

    APP
    Thinkinai
    < 0.5.3
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCEXSS
CWE
References

Related vulnerabilities

CVE-2025-66481CRITICAL9.6PL ✓same product

XSS i RCE w Thinkinai DeepChat przez nieskuteczną sanityzację Mermaid

CVE-2025-66222CRITICAL9.6PL ✓same product

Stored XSS eskalowany do RCE w DeepChat poprzez renderer Mermaid

CVE-2025-58768CRITICAL9.6PL ✓same product

RCE przez XSS w komponencie Mermaid w aplikacji DeepChat

CVE-2025-55733CRITICAL9.6PL ✓same product

RCE jednym kliknięciem w DeepChat przez niebezpieczny handler URL