216.73.216.197

CVE-2025-58747

· Published 17/10/2025 16:15 · Modified 17/10/2025 16:15

Labels: CVE-2025-58747 2025-10-17CVE-2025-58747CWE-79[email protected]

Essential information

Published
17/10/2025 16:15
Modified
17/10/2025 16:15
Author
Creator
CVSS
2.0 LOW (v3) 2.0 LOW (v4.0)
CISA KEV
No
CWE
CVSS vector

CVSS metrics

Description

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.

NVD status

Status
Received — CVE has been recently published to the CVE List and has been received by the NVD.
Source
[email protected]
NVD
View on NVD

Affected products (CPE)

ProductCPE
dify / dify cpe:2.3:a:dify:dify:*:*:*:*:*:*:*:*

References