MCP Markdownify Server denial of service in unbounded URL fetching
Affects markdownify-mcp before 2.0.0, where an LLM agent can be steered into calling the webpage-to-markdown tool with slow or oversized URLs. Fixed in 2.0.0.
- Exploited
- No known exploitation
- Fix
- Fixed in 2.0.0
- Who is exposed
- Specific setups only
Summary
The markdownify-mcp software from zcaceres can be forced to exhaust server memory or hang by supplying URLs that return slow or oversized responses, which can crash the MCP server. A remote attacker without logging in can reach it by using prompt injection to steer an LLM agent into calling its webpage-to-markdown tools, though this requires a user action.
Written by a model
Original description
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.
Who should check
Teams running markdownify-mcp before 2.0.0 as an MCP server that LLM agents can call to fetch and convert web URLs.
“markdownify-mcp before 2.0.0”
What to do
Check whether your setup matches what the bug needs.
markdownify-mcp versions before 2.0.0 An LLM agent can be made to call the webpage-to-markdown or related toolsUpgrade to a fixed version: 2.0.0.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-145358 (markdownify-mcp before 2.0.0 Uncontrolled Resource Consumption via Unbounded URL Fetch), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-145358 (entry last updated 2026-12-04):
Affected:
- npm package mcp-markdownify-server: fixed in 2.0.0
Fixed versions: 2.0.0.
Conditions (all must be true for the bug to be hit):
- markdownify-mcp versions before 2.0.0 (source: https://www.vulncheck.com/advisories/markdownify-mcp-before-2.0.0-uncontrolled-resource-consumption-via-unbounded-url-fetch)
- An LLM agent can be made to call the webpage-to-markdown or related tools (source: https://www.vulncheck.com/advisories/markdownify-mcp-before-2.0.0-uncontrolled-resource-consumption-via-unbounded-url-fetch)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, a user action.
CISA KEV: CVE-2026-145358 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-145358 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (npm): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/zcaceres/markdownify-mcp/commit/6749a13fafcee5e0ca112c451451f847659d923f
- https://github.com/zcaceres/markdownify-mcp/commit/a78961237ef45e07594e0e10d6d7f6d5d9256f25
- https://github.com/zcaceres/markdownify-mcp/releases/tag/v2.0.0
- https://github.com/zcaceres/markdownify-mcp/blob/v1.1.0/src/Markdownify.ts#L83-L127
- https://github.com/zcaceres/markdownify-mcp
- https://www.vulncheck.com/advisories/markdownify-mcp-before-2.0.0-uncontrolled-resource-consumption-via-unbounded-url-fetch
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-145358
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-145358"}.Affected versions
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure12/25Specific setups only, reachable over the network without a login
- Reach10/20Affects npm packages
- Severity7.1/10CVSS 7.1
- No patch0/5No signal
What would change the score
- Would score about 79 if added to CISA KEV
- Would score about 74 if CISA's SSVC rates exploitation active
Timeline
- CVE published
- First seen by cve.now
Evidence 9
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-145358 |
| Record | NVD · CVE-2026-145358 |
| Public exploit code 1Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub). | |
| Exploit | GitHub · Teycir/markdownify-mcp-repo-ssrf · Repository |
| Other links 6 | |
| Patch | GitHub · zcaceres/markdownify-mcp · Commit 6749a13f |
| Patch | GitHub · zcaceres/markdownify-mcp · Commit a7896123 |
| Repository | GitHub · zcaceres/markdownify-mcp · Release v2.0.0 |
| Repository | GitHub · zcaceres/markdownify-mcp · src/Markdownify.ts · L83-L127 |
| Repository | GitHub · zcaceres/markdownify-mcp · Repository |
| Link | vulncheck.com · advisories/markdownify-mcp-before-2.0.0-uncontrolled-resource-consumption-via-unbounded-url-fetch |
Questions about CVE-2026-145358
Is CVE-2026-145358 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The markdownify-mcp server fetches whatever URLs it is given without limiting how much it will read. A crafted URL pointing to a slow or very large response can exhaust the server's memory or hang its requests, crashing the MCP server.
Source: vulncheck.com
Which versions are affected by CVE-2026-145358?
mcp-markdownify-server (npm): before 2.0.0.
Source: cve.now feed data
Am I affected, and how do I check?
Versions of markdownify-mcp before 2.0.0 are affected when the webpage-to-markdown tool or related tools can be called, including by an LLM agent steered through prompt injection. To check, look at the installed markdownify-mcp version in your package manifest or install output.
Source: vulncheck.com
How do I fix CVE-2026-145358?
Upgrade markdownify-mcp to version 2.0.0 or later, which is the fixed version listed for this vulnerability.
Source: vulncheck.com
Related
- CVE-2026-140424markdownify-mcp before 1.2.0 Path Allowlist Bypass via isWithinDirectory Prefix Match
- CVE-2026-137308markdownify-mcp before 1.2.0 SSRF Protection Bypass via validateUrl and validateRepoUrl
- CVE-2025-5276Versions of the package mcp-markdownify-server before 1.0.0 are vulnerable to Server-Side Request Forgery (SSRF) via the Markdownify.get()…
- CVE-2025-5273Versions of the package mcp-markdownify-server before 1.0.0 are vulnerable to Files or Directories Accessible to External Parties via the…
- CVE-2025-65512A Server-Side Request Forgery (SSRF) vulnerability was discovered in the webpage-to-markdown conversion feature of markdownify-mcp v0.0.2…
- CVE-2025-58358Markdownify is vulnerable to command injection through pptx-to-markdown tool
No corrections so far. Something wrong on this page? Report an error.