Security incident · CVE-2025-58747
Dify is an LLM application development platform.
Published Oct 17, 2025 · catalog updated Oct 17, 2025 · Dify is an LLM
Last checked Nov 1, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2025-58747. EPSS is 5.73%. Act only if a listed version of Dify is an LLM is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (Dify is an LLM).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2026-61461 · High
- CVE-2026-41949 · High
- CVE-2026-41948 · Critical · known exploited
- CVE-2026-41947 · Critical
- CVE-2026-41950 · Medium
- Severity
- Low2.0
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 5.73%
- Remediation
- Advisory link
- Affected products
- vendor langgenius dify ≤ 1.9.1
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 th
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor langgenius dify ≤ 1.9.1≤ 1.9.1
How to fix CVE-2025-58747
No stored fix
No vendor fix text is stored. Use the linked advisory before you change production.
Version check
Seen in ≤ 1.9.1
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2025-58747. EPSS is 5.73%. Act only if a listed version of Dify is an LLM is installed.
Which versions are affected?
Compare what you have installed with langgenius dify ≤ 1.9.1 ≤ 1.9.1. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 5.73%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Oct 17, 2025 · EUVD
Detected
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. A
Oct 17, 2025 · EUVD
Updated
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. A
Sources
- CVE.orgVulnerability recordCVE-2025-58747
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2025-58747
30-day exploitation probability 5.73%
first.org - EUVDVulnerability recordEUVD-2025-34897
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 a
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog Nov 1, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- FIRST EPSSNov 1, 2026
- CVE.orgOct 26, 2026
- EUVDOct 26, 2026