{"id":"CVE-2025-58444","aliases":["CVE-2025-58444","GHSA-g9hg-qhmf-q45m"],"related":[],"kind":"vulnerability","state":"published","title":"MCP Inspector is Vulnerable to Potential Command Execution via XSS When Connecting to an Untrusted MCP Server","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\n> Thank you to the following researchers for their reports and contributions:\n> * Raymond (Veria Labs)\n> * Gavin Zhong, <superboyzjc@gmail.com> & Shuyang Wang, <swang@obsidiansecurity.com>.","format":"markdown","source":"ghsa"}],"published":"2025-09-08T21:14:23.000Z","modified":"2026-06-17T09:44:28.127Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-79","CWE-84","CWE-94"],"affected":[{"ranges":[{"version":"< 0.16.6","status":"affected"}],"vendor":"modelcontextprotocol","product":"inspector","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.16.6"}],"ecosystem":"npm","package":"@modelcontextprotocol/inspector","purl":"pkg:npm/%40modelcontextprotocol/inspector","source":"ghsa"}],"references":[{"url":"https://github.com/modelcontextprotocol/inspector/security/advisories/GHSA-g9hg-qhmf-q45m","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/modelcontextprotocol/inspector/commit/650f3090d26344a672026b737d81586595bb1f60","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58444","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/modelcontextprotocol/inspector","tags":["package"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/package/@modelcontextprotocol/inspector/v/0.16.6","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-09-09T13:16:35.277Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-58444","url":"https://www.cve.org/CVERecord?id=CVE-2025-58444","licence":"CVE Terms of Use","modified":"2025-09-09T13:31:04.737Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g9hg-qhmf-q45m","url":"https://github.com/advisories/GHSA-g9hg-qhmf-q45m","licence":"CC-BY-4.0","modified":"2025-09-26T17:07:01.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-58444","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58444","licence":"Public domain","modified":"2026-06-17T09:44:28.127Z"}],"updatedAt":"2026-11-25T22:59:04.346Z","epss":{"score":0.00761,"percentile":0.5652,"date":"2026-12-01T12:00:22.000Z"}}