MCP Inspector application framework can escape the content security policy
MCP Inspector releases security advisory GHSA-h9j8-vj8g-v3gg: its Web client MCP Apps tab renders an application framework via the default srcdoc path that can navigate to an attacker's domain, bypassing the per-app CSP outbound allowlist. @modelcontextprotocol/inspector versions 2.0.0 to 2.13.0 are affected, and it has been fixed in 2.14.0. Mechanically, the sandbox flag remains after the framework navigates, the proxy continues to forward messages with targetOrigin "*", and the attacker page passes the event.source check with a null origin, inheriting the application's JSON-RPC channel. The author reproduced it using the bundled sandbox_proxy.html and a CSP with connect-src 'none': the attacker's domain receives exfiltrated data and the host's next tool-result containing private tool output, and can also send tools/call to the host in the application's name.
The advisory uses a reproducible PoC to show that an application-level CSP domain allowlist does not constitute an outbound boundary; developers who use Inspector to review third-party MCP Apps can use this to check their own exposure surface.