Server-side request forgery in markdownify-mcp validateUrl bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-918 and the CVSS impact.
Summary
markdownify-mcp before 1.2.0 contains a server-side request forgery flaw (CWE-918) in its URL validation. Attackers can bypass the checks by supplying DNS names, bracketed IPv6 literals, or IPv4-mapped IPv6 addresses. An attacker who can influence URLs passed to webpage-to-markdown or git-repo-to-markdown, for example through prompt injection, can make the server fetch loopback services, internal hosts, and cloud metadata endpoints.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update markdownify-mcp to version 1.2.0 or later, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA markdownify-mcp (zcaceres) Fixed in 1.2.0
Timeline
- 2026-11-26 Threatist record created from CVE-2026-137308
- 2026-11-27 Alias added: GHSA-mqxc-j2ww-xfvx
- 2026-11-27 CISA SSVC decision points changed
References
More zcaceres vulnerabilities
- TI-2025-40381 fetch-mcp v1.0.2 and before is vulnerable to Server-Side Request Forgery (SSRF)… CVSS 3.1HIGH 7.5
- TI-2025-40380 A Server-Side Request Forgery (SSRF) vulnerability was discovered in the… CVSS 3.1HIGH 7.5
- TI-2025-36147 Markdownify is vulnerable to command injection through pptx-to-markdown tool CVSS 3.1HIGH 7.5
- TI-2026-12394 zcaceres markdownify-mcp webpage-to-markdown Markdownify.ts saveToTempFile random values CVSS 4.0LOW 2.0
- TI-2026-12391 zcaceres markdownify-mcp Markdownify.ts assertPathAllowed symlink CVSS 4.0MEDIUM 4.8
Sources
- CVE-2026-137308 · CVE Program
- CVE-2026-137308 · NVD
- FIRST EPSS
- GHSA-mqxc-j2ww-xfvx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences