mcp-cve-project

CVE-2025-58444 | MCP Inspector (@modelcontextprotocol/inspector) (XSS via untrusted redirect URL) | High |

CVE Information

Field Value
CVE / NVD CVE-2025-58444
EPSS score 0.006270000 (FIRST EPSS, 2026-06-30)
Date (index) 2025-09-08
Affected product (index) MCP Inspector (@modelcontextprotocol/inspector) (XSS via untrusted redirect URL)
GHSA ID GHSA-g9hg-qhmf-q45m
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2025-09-06
Ecosystem npm
Component @modelcontextprotocol/inspector
CVSS score 8.6 HIGH CVSS v4.0 (NVD)
CWE CWE-84
Affected versions @modelcontextprotocol/inspector < 0.16.6
Fixed versions 0.16.6
Fix status Patched
Exploit status Public advisory (GitHub reviewed)

CVE Breakdown


What is the vulnerability?

Inspector XSS when rendering a redirect URL from an untrusted MCP server, with possible command execution on the developer machine through the built-in proxy. High.

Attack prerequisites / exposure

A user must load attacker-controlled HTML or rendered content inside the affected client. Once rendered, the payload can act in the context of the app and any reachable MCP features.

CVE is because of what bug?

MCP-specific impact / why it matters

Inspector XSS when rendering a redirect URL from an untrusted MCP server, with possible command execution on the developer machine through the built-in proxy. High. In MCP environments, even a narrow validation bug can become more dangerous when chained with tool invocation and agent autonomy.

Where was the bug? (source + snippet)

Exact file/function details are not yet captured in the repository source set. Use the advisory and upstream fix link above as the starting point for source-level pinpointing.

Add the vulnerable file/function name and a minimal before/after snippet here once the patch commit is linked.

Fix / Remediation

The fixed release hardens input validation and trust-boundary checks around the vulnerable MCP feature. Upgrade to 0.16.6 or later.

Upstream fix (open source)