CVE-2026-137308: markdownify-mcp before 1.2.0 SSRF Protection Bypass via validateUrl and validateRepoUrl
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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using markdownify-mcp versions before 1.2.0 are affected when URLs can be influenced through prompt injection and are passed to webpage-to-markdown or git-repo-to-markdown functionality.
What does an attacker need to exploit this issue?
An attacker needs to influence a URL processed by the affected markdown conversion features, such as through prompt injection. No prior privileges are required, but user interaction is required according to the supplied severity vector.
What systems could be reached if exploitation succeeds?
The bypass can allow requests to loopback services, internal hosts, and cloud metadata endpoints. The validation can be bypassed using DNS names, bracketed IPv6 literals, or IPv4-mapped IPv6 addresses.
What is the available remediation?
Upgrade markdownify-mcp to version 1.2.0 or later. Versions before 1.2.0 are identified as affected.