## mcp-sanitizer: URL sanitizer allows localhost/IPv6 loopback SSRF bypass via explicit port or bracketed IPv6

- 種別: advisory
- 重大度: high
- 関連技術: nodejs
- 公開日時: 2026-10-28T19:51:39.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-4mfg-r38w-w8fg)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-4mfg-r38w-w8fg

影響: npm:mcp-sanitizer < 1.4.0 → 1.4.0
URL sanitizer allows localhost/IPv6 loopback SSRF bypass via explicit port or bracketed IPv6 Summary mcp-sanitizer v1.3.3 fails to block Server-Side Request Forgery (SSRF) targets when a localhost URL includes an explicit port (e.g., http://localhost:8080/) or when an IPv6 loopback/link-local address is expressed in bracketed notation (e.g., http://[::1]:8080/, http://[fe80::1]:8080/). Because the library is explicitly designed to gate MCP tool parameters such as web_fetch and web_scraper befor…