PT-2025-36620 · Npm · @Modelcontextprotocol/Inspector

Published

2025-09-08

·

Updated

2025-09-08

CVSS v4.0

8.6

High

VectorAV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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.
Thank you to the following researchers for their reports and contributions:

Fix

XSS

Code Injection

Weakness Enumeration

Related Identifiers

GHSA-G9HG-QHMF-Q45M

Affected Products

@Modelcontextprotocol/Inspector