zcaceres/markdownify-mcp · Security
Markdownify MCP Server allows Server-Side Request Forgery (SSRF) via the Markdownify.get() function
- GHSA ID
- GHSA-frq9-3hp2-xvxg
- CVE ID
- CVE-2025-5276
- Severity
- medium
- Published
- Updated
- CVSS
- 7.4 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
- CVSS v3
- 7.4 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
- CVSS v4
- 6.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:P
Description
All versions of the package mcp-markdownify-server are vulnerable to Server-Side Request Forgery (SSRF) via the Markdownify.get() function. An attacker can craft a prompt that, once accessed by the MCP host, can invoke the webpage-to-markdown, bing-search-to-markdown, and youtube-to-markdown tools to issue requests and read the responses to attacker-controlled URLs, potentially leaking sensitive information.
CWEs
- CWE-918 · Server-Side Request Forgery (SSRF)
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-5276 ↗
- https://github.com/zcaceres/markdownify-mcp/commit/0284aa8f34d32c65e20d8cda2d429b7943c9af03 ↗
- https://security.snyk.io/vuln/SNYK-JS-MCPMARKDOWNIFYSERVER-10249387 ↗
- https://github.com/zcaceres/markdownify-mcp/blob/224cf89f0d58616d2a5522f60f184e8391d1c9e3/src/server.ts#L20C17-L20C29 ↗
- https://github.com/advisories/GHSA-frq9-3hp2-xvxg ↗