CVE-2025-58747
Last modified
CVE-2025-58747 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 5.23% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Langgenius | Dify | < 1.9.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-58747?
How severe is CVE-2025-58747?
How do I fix CVE-2025-58747?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-58741Insufficiently Protected Credentials vulnerability in the Cr…7.5
- CVE-2025-58742Insufficiently Protected Credentials, Improper Restriction o…5.9
- CVE-2025-58743Use of a Broken or Risky Cryptographic Algorithm (DES) vulne…7.5
- CVE-2025-58744Use of Default Credentials, Hard-coded Credentials vulnerabi…7.5
- CVE-2025-58745WeGIA is a Web manager for charitable institutions. The fix …8.8
- CVE-2025-58746The Volkov Labs Business Links panel for Grafana provides an…9
- CVE-2025-58748Dataease is an open source data analytics and visualization …9.8
- CVE-2025-58749WebAssembly Micro Runtime (WAMR) is a lightweight standalone…5.3
- CVE-2025-5875A vulnerability classified as critical has been found in TP-…8.8
- CVE-2025-58750rAthena is an open-source cross-platform massively multiplay…9.1
- CVE-2025-58751Vite is a frontend tooling framework for JavaScript. Prior t…5.3
- CVE-2025-58752Vite is a frontend tooling framework for JavaScript. Prior t…5.3
Are you affected by CVE-2025-58747?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
