CVE-2025-58768 (CNNVD-202509-1146)
中文标题:
DeepChat 代码注入漏洞
英文标题:
DeepChat's Mermaid rendering has XSS leading to RCE
漏洞描述
中文描述:
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类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| ThinkInAIXYZ | deepchat | < 0.3.5 | - | - |
cpe:2.3:a:thinkinaixyz:deepchat:<_0.3.5:*:*:*:*:*:*:*
|
| thinkinai | deepchat | * | - | - |
cpe:2.3:a:thinkinai:deepchat:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
CVSS评分详情
3.1 (cna)
CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
时间信息
利用信息
数据源详情
| 数据源 | 记录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 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 代码注入
- cnnvd_id: 未提取 -> CNNVD-202509-1146
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 1 -> 2
- data_sources: ['cve'] -> ['cve', 'nvd']