| Field | Value |
|---|---|
| CVE / NVD | CVE-2025-62800 |
| EPSS score | 0.002500000 (FIRST EPSS, 2026-06-30) |
| Date (index) | 2025-10-28 |
| Affected product (index) | FastMCP (reflected XSS in OAuth callback) |
| GHSA ID | GHSA-mxxr-jv3v-6pgc |
| OWASP MCP Top 10 (2025) | MCP05 — Command Injection & Execution |
| Published / disclosed | 2025-10-28 |
| Ecosystem | pip |
| Component | FastMCP (reflected XSS in OAuth callback) |
| CVSS score | 6.1 MEDIUM CVSS v3.1 (NVD) |
| CWE | CWE-79 |
| Affected versions | fastmcp < 2.13.0 |
| Fixed versions | 2.13.0. |
| Fix status | Patched |
| Exploit status | Public CVE record |
| Notes | Indexed from 2026-05-29 gap review backlog. Re-check NVD before compliance reporting. |
FastMCP is the standard framework for building MCP applications. Versions prior to 2.13.0 have a reflected cross-site scripting vulnerability in the OAuth client callback page (oauth_callback.py) where unescaped user-controlled values are inserted into the generated HTML, allowing arbitrary JavaScript execution in the callback server origin. The issue is fixed in version 2.13.0.
Exposure depends on deployment: network reachability, ability to influence MCP configuration or tool arguments, and whether the MCP server/client runs with access to sensitive host resources, credentials, or internal networks.
Confirm exact weakness in the NVD record and linked advisory. Primary CWE mapping: CWE-79.
MCP clients and servers bridge model-driven workflows to privileged tools and local execution. Weaknesses in auth, transport trust, or command handling can let untrusted content or users reach host execution, data exfiltration, or unauthorized tool invocation.
Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory diff.
Upgrade to the vendor-fixed version where available. Restrict MCP components to trusted users and networks; validate tool inputs; run with least privilege.
Public advisories exist; do not host weaponized payloads in this repository.
See NVD references and vendor release notes for CVE-2025-62800.