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

Published Sep 8, 2025
·
Updated

An XSS issue was reported in the MCP Inspector local development tool when connecting to an untrusted remote MCP server with a malicious redirect URI. This could be leveraged to interact directly with the inspector proxy to trigger arbitrary command execution. Users are advised to update to 0.16.6 to resolve this issue.

Thank you to the following researchers for their reports and contributions: Raymond (Veria Labs) Gavin Zhong, superboyzjc@gmail.com & Shuyang Wang, swang@obsidiansecurity.com.

Other sources

The MCP inspector is a developer tool for testing and debugging MCP servers. A cross-site scripting issue was reported in versions of the MCP Inspector local development tool prior to 0.16.6 when connecting to untrusted remote MCP servers with a malicious redirect URI. This could be leveraged to interact directly with the inspector proxy to trigger arbitrary command execution. Users are advised to update to 0.16.6 to resolve this issue.

MITRE

Affected Software

1 affected componentFixes available
npm/@modelcontextprotocol/inspector<0.16.6
0.16.6

Event History

Sep 8, 2025
Advisory Published
via GitHub·09:14 PM
Data Sourced
via GitHub·09:14 PM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·09:24 PM
Data Sourced
via MITRE·09:24 PM
DescriptionWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-58444?

CVE-2025-58444 is considered a high severity vulnerability due to its potential for arbitrary command execution.

2

How do I fix CVE-2025-58444?

To fix CVE-2025-58444, ensure you update the @modelcontextprotocol/inspector package to version 0.16.7 or later.

3

Who is affected by CVE-2025-58444?

CVE-2025-58444 affects users of the @modelcontextprotocol/inspector package version 0.16.6 and below.

4

What kind of attack does CVE-2025-58444 enable?

CVE-2025-58444 enables an XSS attack through a malicious redirect URI when connecting to an untrusted remote MCP server.

5

What should I do if I cannot upgrade to fix CVE-2025-58444?

If you cannot upgrade, avoid connecting to untrusted remote MCP servers to mitigate the risk of CVE-2025-58444.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203