GitHub Advisoryadvisory · npm
GHSA-22v8-p7h2-rj7p Markdownify MCP Server allows attackers to read arbitrary files
MEDIUM
Official page ↗
- Aliases
- CVE-2025-5273
- Ecosystem
- npm
- Packages
- mcp-markdownify-server
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-552
- Reviewed
- 2025-05-29
Affected packages
• npm mcp-markdownify-server: <= 0.0.1 (no fix yet)
Description
All versions of the package mcp-markdownify-server are vulnerable to Files or Directories Accessible to External Parties via the get-markdown-file tool. An attacker can craft a prompt that, once accessed by the MCP host, will allow it to read arbitrary files from the host running the server.
Related
Alias · CVE (1)
- CVE-2025-5273 Versions of the package mcp-markdownify-server before 1.0.0 are vulnerable to Files or Directories Accessible to External Parties via the… vulnerability
Weakness · CWE (1)
- CWE-552 Files or Directories Accessible to External Parties weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-5273 advisory
- https://github.com/zcaceres/markdownify-mcp/commit/3a6b202d088ef7acb8be84bc09515f41a2b1a9df web
- https://github.com/zcaceres/markdownify-mcp package
- https://github.com/zcaceres/markdownify-mcp/blob/3667bd4765c0e49684ce22df268d02dd478a7f3b/src/Markdownify.ts#L94 web
- https://security.snyk.io/vuln/SNYK-JS-MCPMARKDOWNIFYSERVER-10249193 web