CVE-2025-58768 (CNNVD-202509-1146)

CRITICAL
中文标题:
DeepChat 代码注入漏洞
英文标题:
DeepChat's Mermaid rendering has XSS leading to RCE
CVSS分数: 9.7
发布时间: 2025-09-09 20:19:52
漏洞类型: 代码注入
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

DeepChat是ThinkInAIXYZ开源的一款智能助手。 DeepChat 0.3.5之前版本存在代码注入漏洞,该漏洞源于innerHTML直接使用用户内容,可能导致命令执行。

英文描述:

DeepChat is a smart assistant uses artificial intelligence. Prior to version 0.3.5, in the Mermaid chart rendering component, there is a risky operation of directly using `innerHTML` to set user content. Therefore, any malicious content rendered via Mermaid will directly trigger the exploit chain, leading to command execution. This vulnerability is primarily caused by a failure to fully address the existing XSS issue in the project, leading to another exploit chain. The exploit chain is consistent with the report GHSA-hqr4-4gfc-5p2j, executing arbitrary JavaScript code via XSS and arbitrary commands via exposed IPC. Version 0.3.5 contains an updated fix.

CWE类型:
CWE-79 CWE-94
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
ThinkInAIXYZ deepchat < 0.3.5 - - cpe:2.3:a:thinkinaixyz:deepchat:<_0.3.5:*:*:*:*:*:*:*
thinkinai deepchat * - - cpe:2.3:a:thinkinai:deepchat:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-f7q5-vc93-wp6j x_refsource_CONFIRM
cve.org
访问
CVSS评分详情
3.1 (cna)
CRITICAL
9.7
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
机密性
HIGH
完整性
HIGH
可用性
HIGH
时间信息
发布时间:
2025-09-09 20:19:52
修改时间:
2025-09-09 20:31:54
创建时间:
2025-11-11 15:40:46
更新时间:
2025-11-11 16:00:09
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-58768 2025-11-11 15:23:30 2025-11-11 07:40:46
NVD nvd_CVE-2025-58768 2025-11-11 15:01:02 2025-11-11 07:48:33
CNNVD cnnvd_CNNVD-202509-1146 2025-11-11 15:12:56 2025-11-11 08:00:09
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:09
vulnerability_type: 未提取 → 代码注入; cnnvd_id: 未提取 → CNNVD-202509-1146; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 代码注入
  • cnnvd_id: 未提取 -> CNNVD-202509-1146
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:33
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']