Skip to content

An editorial team and a community building with AI

← All articles

News · markdownify-mcp · 2 min read

Event date: · Published:

markdownify-mcp patches flaw letting prompt injection crash its server

GitHub Security Advisories disclosed a high-severity denial-of-service flaw in markdownify-mcp on December 5, 2026, and the project fixed it in version 2.0.0.

GitHub Security Advisories published an advisory on December 5, 2026, detailing a high-severity denial-of-service vulnerability in markdownify-mcp, the Model Context Protocol server that converts web pages to Markdown for LLM agents. The flaw, tracked as markdownify-mcp uncontrolled resource consumption (CVE-2026-145358), stems from a missing size limit and timeout in the server's fetch function.

What changed

  • CVE-2026-145358 carries a CVSS score of 7.1 (High) and is classified under CWE-770, allocation of resources without limits or throttling
  • The EPSS score is 0.494 percent, placing it in the 44th percentile for exploitation likelihood
  • Versions of markdownify-mcp before 2.0.0 are affected; the fix ships in markdownify-mcp 2.0.0
  • The safeFetch() function behind the webpage-to-markdown tool had no response-size limit or timeout
  • A prompt injection can direct an LLM agent to call the markdown conversion tool against an attacker-controlled URL that is extremely large or deliberately slow, triggering unbounded memory buffering that crashes the server

What it means for people building with AI

The attack chain does not require an attacker to reach the MCP server directly. It starts with prompt injection content that an agent simply reads, for example text embedded in a web page the agent is asked to summarize. That content can instruct the agent to fetch a hostile URL through the markdown conversion tool, and the resulting resource exhaustion denies service to everyone relying on that server. It is a concrete illustration of how untrusted web content, not just untrusted user input, can take down the tool infrastructure an AI agent depends on.

Fix and availability

markdownify-mcp 2.0.0 fixes the vulnerability and is available now. Anyone running markdownify-mcp below version 2.0.0, particularly with the webpage-to-markdown tool exposed to agents that browse the open web, should upgrade to 2.0.0.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

markdownify-mcp patches flaw letting prompt injection crash its server | vibecoding.inc