CVE-2025-58747: Cross-site scripting vulnerability in Dify MCP OAuth component
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
Dify versions through 1.9.1 contain a cross-site scripting vulnerability in the MCP OAuth component due to unvalidated authorization URLs returned by remote MCP servers. Attackers can exploit this by returning malicious JavaScript URIs during server connection.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- Dify
- incident date
- 17 Oct 2025
- first reported
- 17 Oct 2025
- origin
- NVDVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2025-58747 · xss
- record
- created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z · json
Sources · 1
- 2025-10-17CVE-2025-58747: Dify is an LLM application development platform.NVD · nvd.nist.gov/vuln/detail/CVE-2025-58747
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2025-09-30CVE-2025-56520: Server-Side Request Forgery vulnerability in Dify v1.6.02 Disclosedon AIInfra vuln1 src
- 2025-09-25CVE-2025-59422: Broken access control vulnerability in Dify exposes chat messages2 Disclosedon AIInfra vulnData leak1 src
- 2026-03-03CVE-2026-21866: Stored XSS vulnerability in Dify chat rendering of Mermaid diagrams2 Disclosedon AIInfra vuln1 src
- 2026-02-27CVE-2026-28288: Email enumeration vulnerability in Dify LLM development platform2 Disclosedon AIInfra vuln1 src
- 2026-02-11CVE-2026-26023: Cross-site scripting vulnerability in Dify LLM platform2 Disclosedon AIInfra vuln1 src
- 2026-01-05CVE-2025-67732: API Key Exposure Vulnerability in Dify2 Disclosedon AIInfra vulnData leak1 src