CVEvulnerability

CVE-2025-66481

9.6 CRITICAL Published 2025-12-09 Modified 2026-10-07 Official page ↗
Status
Analyzed
Published
2025-12-09
Last modified
2026-10-07
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.6 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weaknesses
CWE-79, CWE-80, CWE-94

Description

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.

Affected configurations

• thinkinai deepchat (<= 0.5.1)

Related

Weakness · CWE (3)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness
  • CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page weakness
  • CWE-94 Improper Control of Generation of Code weakness

References