CVE-2025-5276: Markdownify MCP Server allows Server-Side Request Forgery (SSRF) via the Markdownify.get() function
CVE-2025-5276 is a server-side request forgery in mcp-markdownify-server. Through Markdownify.get(), the webpage-to-markdown, bing-search-to-markdown and youtube-to-markdown tools can be steered by a crafted prompt to fetch attacker-chosen URLs and return the responses. GitHub data lists 0.0.1 and earlier with no patch; Snyk names 1.0.0 as the fix.
Published May 29, 2025 · Analysis Nov 1, 2026
What an attacker can do
Markdownify MCP turns web pages, Bing results and YouTube pages into Markdown for an AI assistant. All three tools funnel through Markdownify.get(), which does not restrict where a request may go. An attacker places instructions in a prompt or a web page the agent reads. The agent then calls one of the tools with a URL the attacker picked, and the content of the response is returned to the model.
The advisory warns that this can leak sensitive information. Because the request comes from the machine running the server, internal addresses, localhost services and cloud metadata endpoints become reachable, content that the attacker cannot get from outside. Snyk's proof of concept uses hidden HTML that tries to make the host read a file:/// path and pass the result to an external URL.
The CVSS 3.1 vector marks scope as changed, no privileges, user interaction required and high confidentiality impact. The attacker gains data, not code execution. It needs an agent that reads attacker content and an outbound channel for exfiltration.
Who is affected
The npm package mcp-markdownify-server: 0.0.1 and earlier per the GitHub data, and all versions below 1.0.0 per Snyk. Check:
npm ls -g mcp-markdownify-serverThen look at the MCP client config to see if the server is enabled and if the agent also has tools that can send data out. Servers started from a clone of the markdownify-mcp repository need a check of the checkout's commit instead.
mcp-markdownify-server
- Ecosystem
- npm
- Affected
- <= 0.0.1
- Fixed in
- No patched version yet
- Check
npm ls mcp-markdownify-server
How to fix it
Snyk lists 1.0.0 as the fixed version and links the commit 0284aa8. The GitHub advisory data names no patched version, so check the version you install:
npm install -g mcp-markdownify-server@latestSources give no other workaround. Reasonable steps: disable the three URL tools if you do not need them, block the server host's access to internal networks and the cloud metadata address, and keep agents that read untrusted pages away from sensitive networks.
How to tell if you were hit
Check MCP and agent logs for webpage-to-markdown, bing-search-to-markdown or youtube-to-markdown calls with URLs you did not request, such as private IP ranges, localhost, 169.254.169.254 or file:// paths. Look at firewall or proxy logs for connections from the host running the server to internal services. Beam records MCP tool calls, so calls to these tools with unusual URLs show up in its record.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
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.
Questions
- Which tools are affected by CVE-2025-5276?
webpage-to-markdown, bing-search-to-markdown and youtube-to-markdown, because they all go through Markdownify.get().
- Is there a patched release?
Snyk says 1.0.0. The GitHub advisory data lists none, with 0.0.1 as the last vulnerable version.
- What can an attacker get?
Responses from URLs they choose, including pages only the server host can reach. The advisory warns of leaking sensitive information.
- Does it need user interaction?
Yes. The agent has to process attacker-controlled content, so the CVSS vector marks user interaction as required.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Other MCP servers and tools vulnerabilities
All Other MCP servers and tools entriesCVE-2026-102610
fast-agent: `fast-agent serve` binds HTTP to 0.0.0.0 with no authentication by default; with --shell this is unauthenticated remote command execution
medium6.4Nov 9, 2026CVE-2026-63655
tsParticles: Unbounded HTTP Request Body Buffering in @tsparticles/mcp-server Leads to Remote DoS
high7.5Nov 9, 2026CVE-2026-76892
tsParticles: Malformed JSON requests can terminate the @tsparticles/mcp-server HTTP process
high8.7Nov 9, 2026CVE-2026-76893
tsParticles: A single anonymous MCP session can monopolize HTTP mode and deny new clients
medium6.9Nov 9, 2026CVE-2026-77604
Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read
high7.5Nov 9, 2026CVE-2026-87008
Code Graph RAG structural tools follow out-of-root symlinks
high7.1Nov 9, 2026
