gcdRadar
archive/Patch now/AIR-2025-0493
closedclosed 17 Oct 2025Patch now2 Disclosed vulnerabilityAI

CVE-2025-58747: Cross-site scripting vulnerability in Dify MCP OAuth component

Dify

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

CVSS
6.1
EPSS
0.06 · top 7% · 2026-11-13
fix status
Fix status unknown
first report
17 Oct 2025
last update
17 Oct 2025

Timeline · 1

  1. 17 Oct 2025CVE-2025-58747: Dify is an LLM application development platform.

Sources · 1

Advisories and databases

  1. 2025-10-17
    CVE-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 gcdRadar in its own words; data is CC BY-SA 4.0.

Classification

AI role
Attack on AI
categories
Infrastructure vulnerability
severity
2 · Disclosed vulnerability
fix status
Fix status unknown
targets
Framework / tooling
owasp llm top 10
LLM03:2025 Supply Chain
mitre atlas
no technique for these categories
tags
xss
dates
happened 17 Oct 2025 · first reported 17 Oct 2025
origin
NVD
Vulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
record
confidence 0.95 · created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z

Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned

Copy a brief

This record as a short Markdown brief, for a ticket, a chat or a coding agent.

the brief as text
# CVE-2025-58747: Cross-site scripting vulnerability in Dify MCP OAuth component

https://gcdradar.vercel.app/incidents/cve-2025-58747-cross-site-scripting-vulnerability-in-dify-mc · AIR-2025-0493 · closed 2025-10-17

- Lane: Patch now
- Severity: 2 (Disclosed vulnerability)
- Fix status: Fix status unknown
- First reported: 2025-10-17
- AI role: Attack on AI
- Products: Dify
- CVE ids: CVE-2025-58747
- CVSS: 6.1

## Summary

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.

## What to do

No action recorded; read the sources below and the vendor's advisory.

## Latest updates

- 2025-10-17: CVE-2025-58747: Dify is an LLM application development platform. (https://nvd.nist.gov/vuln/detail/CVE-2025-58747)

## Sources

- 2025-10-17 NVD: CVE-2025-58747: Dify is an LLM application development platform. https://nvd.nist.gov/vuln/detail/CVE-2025-58747

Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.

Related

  1. closed5.3
    Dify CVE-2025-56520: Server-Side Request Forgery vulnerability in Dify v1.6.0

    Patch now · Disclosed · since 30 Sep 2025 · CVE-2025-56520

    AI
  2. closed6.0
    Dify CVE-2025-59422: Broken access control vulnerability in Dify exposes chat messages

    Patch now · Disclosed · since 25 Sep 2025 · CVE-2025-59422

    AI
  3. closed5.4
    Dify CVE-2026-21866: Stored XSS vulnerability in Dify chat rendering of Mermaid diagrams

    Patch now · Disclosed · since 3 Mar 2026 · CVE-2026-21866

    AI
  4. closed5.5
    Dify CVE-2026-28288: Email enumeration vulnerability in Dify LLM development platform

    Patch now · Disclosed · since 27 Feb 2026 · CVE-2026-28288

    AI
  5. closed6.1
    Dify CVE-2026-26023: Cross-site scripting vulnerability in Dify LLM platform

    Patch now · Disclosed · since 11 Feb 2026 · CVE-2026-26023

    AI
  6. closed8.4
    Dify CVE-2025-67732: API Key Exposure Vulnerability in Dify

    Patch now · Disclosed · since 5 Jan 2026 · CVE-2025-67732

    AI