5.3Medium
CVE-2025-62800FastMCP vulnerable to reflected XSS in client's callback page
Description
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.
Weakness (CWE):
CWE-79
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- https://github.com/jlowin/fastmcp/security/advisories/GHSA-mxxr-jv3v-6pgc ExploitThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:jlowin:fastmcp:*:*:*:*:*:*:*:*< 2.13.0