Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-62800 EUVD-2025-36568GHSA-mxxr-jv3v-6pgcPYSEC-2026-1364

FastMCP vulnerable to reflected XSS in client's callback page

Published Oct 28, 2025 · Updated Oct 29, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
jlowin fastmcp < 2.13.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI fastmcp < 2.13.0 2.13.0 GHSA-mxxr-jv3v-6pgc

References