Markdownify MCP Server allows Server-Side Request Forgery (SSRF) via the Markdownify.get() function
CVE-2025-5276 · GHSA-frq9-3hp2-xvxg · published 2025-05-29
- Severity
- Medium
- CVSS score
- 7.4
- Chance of exploitation (EPSS)
- 0.42%
- Fixed in
- No fix yet
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
All versions of the package mcp-markdownify-server are vulnerable to Server-Side Request Forgery (SSRF) via the Markdownify.get() function. An attacker can craft a prompt that, once accessed by the MCP host, can invoke the webpage-to-markdown, bing-search-to-markdown, and youtube-to-markdown tools to issue requests and read the responses to attacker-controlled URLs, potentially leaking sensitive information.
No fixed release is listed yet for mcp-markdownify-server. Follow the source advisory for updates, and until one ships:
General guidance from ShieldPi, not a vendor fix
- Server-side request forgery. Restrict its outbound network access to the hosts it needs, and keep internal addresses and cloud metadata endpoints out of its reach.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| mcp-markdownify-server | npm | <= 0.0.1 | No fix yet |
- CriticalMLflow: Unauthenticated full-read SSRF in webhook delivery: _validate_webhook_url bypassed via unvalidated HTTP redirects (and DNS rebindingmlflowExploited
- Critical@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery@zereight/mcp-gitlab
- CriticalSSRF + LLM API key exfiltration via user-controlled basepath / baseUrl in 8 chat-model nodesflowise, flowise-components
- CriticalLocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLsgithub.com/mudler/LocalAI
- CriticalFastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerabilityfastmcp
- CriticalBentoML SSRF Vulnerability in File Upload Processingbentoml
- Highmcp-markdownify-server vulnerable to command injection in pptx-to-markdown toolmcp-markdownify-server
- MediumMarkdownify MCP Server allows attackers to read arbitrary filesmcp-markdownify-server
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.