← All advisories
CVE-2025-58444highCode execution2025-09-08

CVE-2025-58444: MCP Inspector is Vulnerable to Potential Command Execution via XSS When Connecting to an Untrusted MCP Server

An XSS flaw exists in the MCP Inspector local development tool when it renders a redirect URL returned by a remote MCP server.

01.

What it is

An XSS flaw exists in the MCP Inspector local development tool when it renders a redirect URL returned by a remote MCP server. If the Inspector connects to an untrusted server, a crafted redirect can inject script into the Inspector context and, via the built-in proxy, be leveraged to trigger arbitrary command execution on the developer machine. Version 0.16.6 hardens URL handling/validation and prevents script execution.

02.

How to check

  1. Affected: @modelcontextprotocol/inspector (npm) < 0.16.6.
  2. Compare your installed version with the range above (command below).
03.

How to fix

  1. Upgrade @modelcontextprotocol/inspector to 0.16.6 or later.
npm ls @modelcontextprotocol/inspector
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

New advisories, CVEs and fixes for Lovable, Bolt, v0, Replit, Base44 and Cursor apps. No roundups of things you already read.