Back to CVE records
Critical 9.7Published Dec 8, 2025

CVE-2025-66481DeepChat's Incomplete XSS Fix Allows RCE through Mermaid Content

Updated under an hour ago ()

Does this affect you?

It affects ThinkInAIXYZ deepchat and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
9.7 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weakness (CWE)
CWE-80, CWE-79, CWE-94
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Dec 9, 2025
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
ThinkInAIXYZ deepchat
thinkinaixyz:deepchat (from the name)
through 0.5.1
CNA record
thinkinai deepchat
thinkinai:deepchat
through 0.5.1
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.