SecurityContext

CVE-2025-66481: DeepChat - Stored XSS

  • Cve: CVE-2025-66481
  • Name: DeepChat - Stored XSS
  • 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.
  • Impact: Remote attackers can execute code on victim machines, potentially leading to full compromise via electron.ipcRenderer interface.
  • Remediation: Update to the latest version once a fix is available.
  • Vulnerability type: stored_xss
  • Vulnerability impact: remote_code_execution, client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim must load malicious Mermaid content to trigger execution.
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.6
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Epss score: 0.00622
  • Epss percentile: 0.50519
  • Assignee: [email protected]
  • Published at: 2025-12-09T01:16:55Z
  • Age in days: 350
  • Modified at: 2026-10-07T20:10:01Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-66481
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-h9f5-7hhf-fqm4nvd2025-12-09

References

UrlSourceTags
https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-h9f5-7hhf-fqm4nvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
thinkinai:deepchat<= 0.5.1nonvd/v1/products/thinkinai/deepchat

Projects

RepositoryLink kindsIndexedUrl
ThinkInAIXYZ/deepchatsecurity_advisoryyes/v1/repositories/ThinkInAIXYZ/deepchat

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-12-09
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts