CVE-2025-5276 Markdownify MCP Server allows Server-Side Request Forgery (SSRF) via the Markdownify.get() function
An attacker can exploit SSRF in mcp-markdownify-server to read responses from attacker-controlled URLs, potentially leaking sensitive information.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-5276?
CVE-2025-5276 is a high-severity server-side request forgery vulnerability in mcp-markdownify-server, published on 29 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Versions of the package mcp-markdownify-server before 1.0.0 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.
Weakness: CWE-918
Which versions are affected by CVE-2025-5276?
2 open source packages ship an affected version, including mcp-markdownify-server.
| Package | Affected | Fixed in |
|---|---|---|
mcp-markdownify-server npm | All versions to 0.0.1 | None |
mcp-markdownify-server npm | All versions to 0.0.1 | None |
How do I fix CVE-2025-5276?
No fix has been published for CVE-2025-5276 yet. Limit exposure of the affected software until one is available.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2025-5276 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5276 exists.
Sources
Also known as GHSA-frq9-3hp2-xvxg.