# CVE-2025-67744: Mermaid XSS vulnerability leads to Remote Code Execution

- 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.67%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-16T00:42:21.256Z
- Modified: 2026-10-07T19:10:00.160Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- ThinkInAIXYZ deepchat: < 0.5.3
- thinkinai deepchat: before 0.5.3

## 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-w8w8-82pv-5rg9> (exploit, vendor-advisory)
- <https://github.com/ThinkInAIXYZ/deepchat/commit/b179d97921af04a0ae1ae68757338dd8b8cbefe7> (patch)

## Sources

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

---

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