CVE-2025-58747 (CNNVD-202510-2440)
中文标题:
Dify 跨站脚本漏洞
英文标题:
Dify MCP OAuth Flow Vulnerable to XSS
漏洞描述
中文描述:
dify是LangGenius开源的一个开源的 LLM 应用程序开发平台。 Dify 1.9.1及之前版本存在跨站脚本漏洞,该漏洞源于OAuth流程实现中未验证或清理authorization_url,可能导致跨站脚本攻击。
英文描述:
Dify is an LLM application development platform. In Dify versions through 1.9.1, the MCP OAuth component is vulnerable to cross-site scripting when a victim connects to an attacker-controlled remote MCP server. The vulnerability exists in the OAuth flow implementation where the authorization_url provided by a remote MCP server is directly passed to window.open without validation or sanitization. An attacker can craft a malicious MCP server that returns a JavaScript URI (such as javascript:alert(1)) in the authorization_url field, which is then executed when the victim attempts to connect to the MCP server. This allows the attacker to execute arbitrary JavaScript in the context of the Dify application.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| langgenius | dify | <= 1.9.1 | - | - |
cpe:2.3:a:langgenius:dify:<=_1.9.1:*:*:*:*:*:*:*
|
| langgenius | dify | * | - | - |
cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
4.0 (cna)
LOWCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-58747 |
2025-11-11 15:23:30 | 2025-11-11 07:40:46 |
| NVD | nvd_CVE-2025-58747 |
2025-11-11 15:01:06 | 2025-11-11 07:48:32 |
| CNNVD | cnnvd_CNNVD-202510-2440 |
2025-11-11 15:13:00 | 2025-11-11 08:00:18 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 跨站脚本
- cnnvd_id: 未提取 -> CNNVD-202510-2440
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 1 -> 2
- data_sources: ['cve'] -> ['cve', 'nvd']