CVE-2026-145358: markdownify-mcp before 2.0.0 Uncontrolled Resource Consumption via Unbounded URL Fetch
markdownify-mcp before 2.0.0 contains an uncontrolled resource consumption vulnerability that allows attackers to exhaust server memory or hang requests by supplying URLs to slow or oversized responses. Attackers can steer an LLM agent via prompt injection into calling webpage-to-markdown or related tools, causing safeFetch() to buffer unbounded bodies without timeout and crash the MCP server.
Affected Software
Event History
Frequently Asked Questions
What conditions must be present for exploitation?
An attacker needs to cause an LLM agent to invoke the webpage-to-markdown or related URL-fetching tools with a URL they control or influence. The described attack path uses prompt injection and requires user interaction.
Which deployments are exposed?
Deployments using markdownify-mcp versions before 2.0.0 are affected when the MCP server can fetch attacker-supplied URLs through its webpage-to-markdown or related tools. The issue is network-reachable through URL fetching, but exploitation depends on an agent being induced to make the tool call.
What is the impact of a successful attack?
A slow response can keep requests hanging, while an oversized response can cause safeFetch() to buffer an unbounded body and exhaust server memory. This can crash the MCP server, resulting in denial of service.
How can teams determine whether they are affected?
Check whether the installed package is npm/markdownify-mcp and whether its version is earlier than 2.0.0. Also review whether webpage-to-markdown or related tools are enabled and permitted to fetch URLs influenced by untrusted content.