CVE-2025-58747
BaseFortify
Publication date: 2025-10-17
Last updated on: 2025-10-29
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| langgenius | dify | to 1.9.2 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in Dify versions through 1.9.1 involves the MCP OAuth component where an attacker-controlled remote MCP server can supply a malicious authorization_url. Because this URL is passed directly to window.open without validation or sanitization, an attacker can craft a JavaScript URI that executes arbitrary JavaScript code in the context of the Dify application when a victim connects to the malicious MCP server.
How can this vulnerability impact me? :
The vulnerability allows an attacker to execute arbitrary JavaScript code within the Dify application context. This can lead to potential security risks such as unauthorized actions, data theft, or manipulation of the application behavior when a user connects to a malicious MCP server.