CVE-2025-67744CWE-94code-injection

CVE-2025-67744

Critical · published December 16, 2025

CVSS v3.1
9.6
EPSS
1%
Percentile
49.5
In the wild
Unconfirmed
What it is

🚨 A sneaky flaw in DeepChat’s Mermaid diagram rendering is causing a major security headache! Before version 0.5.3, this XSS vulnerability can lead to full Remote Code Execution (RCE)! 🔥 Think of DeepChat like a restaurant kitchen where any delivery person can walk in and start cooking without checks — that’s how this flaw lets attackers execute arbitrary commands on your system without a second thought! This means an attacker could potentially gain full control of your server, snooping on sensitive data, altering configurations, or even taking down critical systems. It’s an absolutely devastating flaw that could lead to a complete takeover if left unaddressed!

Put simply

Think of DeepChat like a restaurant kitchen where any delivery person can walk in and start cooking without checks — that’s how this flaw lets attackers execute arbitrary commands on your system without a second thought! The vulnerability arises from the unsafe configuration of Mermaid diagrams combined with an exposed Electron IPC renderer, allowing for arbitrary JavaScript execution within the application's context. This dangerous combination escalates into full RCE for attackers.

What to do

This means an attacker could potentially gain full control of your server, snooping on sensitive data, altering configurations, or even taking down critical systems. It’s an absolutely devastating flaw that could lead to a complete takeover if left unaddressed! To protect your system, upgrade DeepChat to version 0.5.3 immediately! Additionally, tighten your Mermaid configuration and review your Electron IPC settings to prevent future risks. Security audits on your applications will further enhance your defenses. You've got this! Follow these steps to patch the vulnerability and keep your systems safe! 🛡️

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00629 · 49.5th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-12-16T06:15Z
Affected products (1)
ProductVersionsFixed in
thinkinai/deepchat< 0.5.30.5.3
References (2)
EPSS history
Timeline
  • 16 DEC 00:42Z
    Mermaid XSS vulnerability leads to Remote Code Execution
    cvelistv5