CVE-2025-58747 (CNNVD-202510-2440)

LOW
中文标题:
Dify 跨站脚本漏洞
英文标题:
Dify MCP OAuth Flow Vulnerable to XSS
CVSS分数: 2.0
发布时间: 2025-10-17 15:48:04
漏洞类型: 跨站脚本
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

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类型:
CWE-79
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 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:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/langgenius/dify/security/advisories/GHSA-9jch-j9qf-vqfw x_refsource_CONFIRM
cve.org
访问
https://github.com/langgenius/dify/commit/bfda4ce7e6f39d43a4420e97e23a18edcfe3e3d3 x_refsource_MISC
cve.org
访问
CVSS评分详情
4.0 (cna)
LOW
2.0
CVSS向量: CVSS: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
机密性
NONE
完整性
NONE
可用性
NONE
后续系统影响 (Subsequent):
机密性
LOW
完整性
LOW
可用性
NONE
时间信息
发布时间:
2025-10-17 15:48:04
修改时间:
2025-10-17 15:58:42
创建时间:
2025-11-11 15:40:46
更新时间:
2025-11-11 16:00:18
利用信息
暂无可利用代码信息
数据源详情
数据源 记录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
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:18
vulnerability_type: 未提取 → 跨站脚本; cnnvd_id: 未提取 → CNNVD-202510-2440; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 跨站脚本
  • cnnvd_id: 未提取 -> CNNVD-202510-2440
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:32
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']