Skip to main content

markdownify-mcp CVE-2026-137308

| EUVDEUVD-2026-136046 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-11-26 VulnCheck
8.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Inject crafted URL via prompt injection
  2. Delivery
    Pass IPv6/DNS literal to markdownify tool
  3. Exploit
    Bypass validateUrl SSRF check
  4. Execution
    Server fetches internal/metadata endpoint
  5. Impact
    Exfiltrate response via markdown output

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the markdownify-mcp server (versions <= 1.1.0) be deployed with network reachability to the internal or cloud targets of interest (loopback services, internal hosts, or a cloud metadata endpoint such as 169.254.169.254 / metadata.google.internal), and that the attacker can influence the URL argument to the webpage-to-markdown, youtube-to-markdown, bing-search-to-markdown, or git-repo-to-markdown tools - per the description and CVSS UI:P, this is achieved indirectly through prompt injection into the controlling LLM rather than direct API access. The specific bypass vectors are DNS hostnames (localhost, metadata.google.internal, external names resolving to private IPs), bracketed IPv6 literals ([::1]), IPv4-mapped IPv6 / hex-compressed forms (::ffff:7f00:1, ::ffff:a9fe:a9fe), and multicast ranges; validateRepoUrl additionally accepted scp-style SSH shorthand (git@host:path). The limiting factor is the prompt-injection prerequisite (UI:P): the attacker cannot invoke the tool directly and must route a payload through LLM-processed untrusted content, so impact depends on how the MCP server is wired into agent workflows. Complete remediation is upgrading to v1.2.0, as stated by the vendor.

Impact

This is a genuine but conditional priority rather than a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, score 8.3) shows a network-reachable, low-complexity, unauthenticated SSRF whose only gating factor is passive user interaction (UI:P) - in practice, an attacker must get a malicious URL into the tool via prompt injection rather than calling it directly. VulnCheck is the reporting source and a vendor patch (v1.2.0) exists, but there is no KEV listing, no EPSS score, and no public exploit code in the provided data, so active exploitation is not evidenced. The vuln.today Decision label is this_week, consistent with a high-impact, patch-available flaw that should be remediated promptly but is not flagged act_now/emergency. The impact signals are notable: VC:H plus a subsequent-system confidentiality impact (SC:H) reflect that successful SSRF can read cloud metadata endpoints and internal/loopback services - a realistic path to credential theft in cloud deployments. Net: treat as a real, near-term fix given the high confidentiality impact and that markdownify-mcp runs as an agent tool exposed to untrusted LLM-supplied input, while recognizing the prompt-injection prerequisite tempers mass-exploitation likelihood.

Exploit ScenarioDerived

An attacker plants content (a web page, repo README, or chat message) that, when processed by an LLM driving the markdownify-mcp server, injects a crafted URL such as http://[::1]/, http://metadata.google.internal/, or an IPv4-mapped IPv6 literal like http://[::ffff:a9fe:a9fe]/ into the webpage-to-markdown or git-repo-to-markdown tool. Because validateUrl()/validateRepoUrl() in versions <= 1.1.0 fail to resolve DNS names and mishandle bracketed/mapped IPv6 literals, the server fetches the internal target and returns its contents - e.g. cloud metadata or a loopback admin service - back through the markdown output. No public exploit code is identified at time of analysis, though the GHSA advisory documents the exact bypass payloads.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 26, 2026

Server-side request forgery in markdownify-mcp (npm package mcp-markdownify-server) 1.1.0 and earlier lets an attacker who can steer the URL argument of the webpage-to-markdown, youtube-to-markdown, bing-search-to-markdown or git-repo-to-markdown tools make the server fetch loopback services, internal hosts and cloud metadata endpoints such as 169.254.169.254 or metadata.google.internal. The attacker cannot invoke those tools directly: per the UI:P metric, the URL must be injected indirectly, typically through prompt injection into the controlling LLM, and impact only materialises where the MCP server actually has network reachability to the target being requested. The bypass is fixed in v1.2.0; no public exploit code has been identified at time of analysis, so this is a conditional, this-week priority rather than an emergency.

RemediationAI

Vendor-released patch: upgrade mcp-markdownify-server / markdownify-mcp to v1.2.0 (https://github.com/zcaceres/markdownify-mcp/releases/tag/v1.2.0), which lands via PR #155 / commit ee00464d0744d5defddecd660c29e91470eea96a and replaces private-ip with a node:net BlockList plus fail-closed DNS resolution, per-redirect revalidation, hostname deny-listing, validated http(s) repository URLs and a block on scp-style SSH shorthand; the vendor treats upgrading as the complete remediation, and the advisory at https://github.com/zcaceres/markdownify-mcp/security/advisories/GHSA-pxwh-pcrm-vrm3 should be reviewed for the full detail. Where upgrading cannot be done immediately, the only exposure-limiting control described in the available sources is reducing network reachability from the MCP server process, i.e. running it without a route to loopback management services, internal hosts or cloud metadata endpoints (for example by denying egress to 169.254.169.254 and private ranges at the host or network layer) and requiring IMDSv2-style hardening on the cloud side; this does not fix the validation bypass itself and it breaks legitimate use cases where the server is meant to fetch internal documentation, so it is a stopgap only, and operators should additionally treat prompts and fetched content as untrusted to lower the likelihood of the required prompt injection.

Affected VersionsENISA

markdownify-mcp 0 <1.2.0

Affected Packages

euvd markdownify_mcp fix: 1.2.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

markdownify-mcp is a TypeScript/Node (Bun-packaged) MCP server that converts web pages and git repositories to markdown, and its SSRF guard was built on the third-party private-ip classifier (private-ip@3.0.2, pulling in ipaddr.js, netmask, ip-regex). CWE-918 root cause is that validation operated on URL.hostname rather than a resolved, canonicalised address: private-ip returns undefined for DNS names, so localhost, localhost., *.localhost, *.local, *.internal and metadata.google.internal passed through, as did external domains resolving to loopback, private or link-local space. URL.hostname also retains the brackets on IPv6 literals such as [::1], which the classifier could not parse, and the classifier itself mis-triaged hex-compressed IPv4-mapped IPv6 forms (::ffff:7f00:1, ::ffff:a9fe:a9fe) and multicast ranges such as 224.0.0.1 as public. A parallel flaw in validateRepoUrl() checked only the scheme of http(s):// repository URLs without any IP or DNS inspection, and accepted scp-style SSH shorthand (git@host:path, host:path), which also created an option/argument injection surface around git invocation. The 1.2.0 fix removes private-ip entirely and rebuilds validation on node:net BlockList covering the IANA special-purpose IPv4 and IPv6 ranges (IPv4-mapped IPv6, multicast, CGNAT, NAT64, 6to4, ULA, link-local), adds fail-closed asynchronous DNS lookup with all/verbatim resolution re-checked on every redirect hop, applies the same URL/DNS validation to explicit http(s) repository URLs, blocks scp-style SSH shorthand, and adds branch-name validation to stop argument injection such as --upload-pack=id.

Know when Markdownify Mcp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.3 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
vuln.today AI 7.4 HIGH

Network-reachable unauthenticated SSRF (AV:N/AC:L/PR:N); prompt injection supplies the URL so UI:R; SSRF reaches other systems (S:C) disclosing internal/metadata data (C:H), with no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

markdownify-mcp before 1.2.0 contains a server-side request forgery vulnerability that allows attackers to bypass URL validation by supplying DNS names, bracketed IPv6 literals, or IPv4-mapped IPv6 addresses. Attackers can influence URLs passed to webpage-to-markdown or git-repo-to-markdown through prompt injection to fetch loopback services, internal hosts, and cloud metadata endpoints.

Technical POC Analysis

CWE-918 (SSRF).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity server-side request forgery vulnerability in the markdownify-mcp npm package (versions 1.1.0 and earlier) could allow attackers to redirect the server to access internal services and cloud metadata endpoints via prompt injection. This affects any organization using the package in their LLM tooling, potentially exposing sensitive internal resources such as credentials or configuration data. Leadership should prioritize patching to v1.2.0 and review network access controls for MCP servers.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 60% exploitable
Prevalence
Low
niche open-source MCP server tool, limited production enterprise footprint
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy