What happened
Before commit cc72482 the Documentation-Search MCP server's related() tool did not validate the destination domain of the url argument, exposing an SSRF that can be driven through prompt injection to reach internal endpoints (CVSS 3.1).
Why it matters
MCP servers execute 'fetch this URL' style tools on behalf of an agent; an SSRF that accepts a prompt-controlled URL lets an attacker probe internal services from within the agent's trusted network.
Attack vector
The related() tool skips domain validation of the url argument, so a prompt-injection that influences tool arguments can make the MCP server issue GET requests to loopback or internal addresses (CWE-918 SSRF).
Affected systems
jpmorgan-payments/ai Documentation-Search MCP server before commit cc72482
Mitigation
Apply commit cc72482 (adds domain validation to the related() tool).