# CVE-2025-66222: DeepChat Cross-Site Scripting(XSS) escalate to Remote Code Execution(RCE)

- Severity: Critical 9.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-03T18:34:44.019Z
- Modified: 2026-10-18T17:10:00.110Z
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ThinkInAIXYZ deepchat: < 0.5.0
- thinkinai deepchat: up to 0.5.0

## Every score

- GitHub_M: CVSS:3.1 9.7 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-v8v5-c872-mf8r> (exploit, vendor-advisory)
- <https://github.com/ThinkInAIXYZ/deepchat/commit/371ca7b42e3685aee6e3f0c61e85277ed1ff4db7> (patch)

## Sources

- CVE List: [CVE-2025-66222](https://www.cve.org/CVERecord?id=CVE-2025-66222), CVE Terms of Use, modified 2025-12-03
- NVD: [CVE-2025-66222](https://nvd.nist.gov/vuln/detail/CVE-2025-66222), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-66222 · Whole record: https://cve.day/CVE-2025-66222.json · Rebuilt by cve.day 2026-11-25T22:59:08.241Z
