mcp-cve-project

CVE-2025-59417 | Lobe Chat MCP OAuth authorization_url XSS | Severity: see NVD

CVE Information

Field Value
CVE / NVD CVE-2025-59417
Date (index) 2025-09-18
Affected product (index) Lobe Chat
GHSA ID GHSA-M79R-R765-5F9J
OWASP MCP Top 10 (2025) MCP07 — Insufficient Authentication & Authorization
Published / disclosed 2025-09-18
Component Lobe Chat
CWE CWE-79
Affected versions <= 1.9.1
Fixed versions Verify upstream advisory
Fix status Patched
Exploit status Public CVE record; do not mirror weaponized payloads
EPSS score 0.003710000 (FIRST EPSS, 2026-06-30)
CVSS score MEDIUM (GitHub CNA)
Ecosystem npm
Notes Added during the 2026-07-01 missing-CVE recheck against NVD/GHSA/OX/VIPER-MCP sources.

CVE Breakdown


What is the vulnerability?

Remote MCP server can supply javascript: URI in authorization_url, executed when victim connects to attacker MCP server.

Attack prerequisites / exposure

Exposure depends on how the affected MCP server, client, plugin, extension, SDK transport, or adjacent AI workflow is deployed. Prioritize network-reachable MCP transports, desktop apps with MCP extensions enabled, CI or agent environments, and systems with access to browsers, repositories, credentials, cloud resources, databases, or local files.

CVE is because of what bug?

Primary mapped weakness: MCP07 — Insufficient Authentication & Authorization. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.

MCP-specific impact / why it matters

MCP components bridge model output to privileged tools. Vulnerabilities in authorization, path validation, OAuth handling, command execution, SSRF validation, transport trust, or configuration loading can turn prompt/tool input into host compromise, credential disclosure, unauthorized browser/cloud/database access, or persistent malicious tool execution.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.

Fix / Remediation

Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.

Upstream fix (open source)

Workarounds / mitigations

Exploit / PoC

If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification

Patch

Track NVD references for CVE-2025-59417 and apply the upstream patched release or commit recommended by the vendor/CNA.