CVE-2025-66222

CRITICAL
Published Dec 3, 2025 Modified Dec 5, 2025 CWE-94 CWE-79

Description

DeepChat is a smart assistant uses artificial intelligence. In 0.5.0 and earlier, there is a Stored Cross-Site Scripting (XSS) vulnerability in the Mermaid diagram renderer allows an attacker to execute arbitrary JavaScript within the application context. By leveraging the exposed Electron IPC bridge, this XSS can be escalated to Remote Code Execution (RCE) by registering and starting a malicious MCP (Model Context Protocol) server.

CVSS v3.1 Score

9.6
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Weakness Type (CWE)

CWE-94 CWE-94
CWE-79 Cross-site Scripting (XSS)

Affected Products

Vendor Product
thinkinai deepchat

References

Frequently Asked Questions

What is CVE-2025-66222? +
DeepChat is a smart assistant uses artificial intelligence. In 0.5.0 and earlier, there is a Stored Cross-Site Scripting (XSS) vulnerability in the Mermaid diagram renderer allows an attacker to execute arbitrary JavaScript within the application context. By leveraging the exposed Electron IPC bridge, this XSS can be escalated to Remote Code Execution (RCE) by registering and starting a malicious MCP (Model Context Protocol) server. It has a CVSS v3.1 base score of 9.6 (CRITICAL).
How severe is CVE-2025-66222? +
CVE-2025-66222 has a CVSS v3.1 score of 9.6 out of 10, rated CRITICAL. This is a critical vulnerability that should be patched immediately.
What products are affected by CVE-2025-66222? +
CVE-2025-66222 affects products from thinkinai, specifically: deepchat. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-66222? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-66222 — free, no signup required.

Start Free Scan