Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mcp-markdownify-server
  4. ›
  5. CVE-2025-5273

CVE-2025-5273: Markdownify MCP Server allows attackers to read arbitrary files

May 29, 2025

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.

References

  • github.com/advisories/GHSA-22v8-p7h2-rj7p
  • github.com/zcaceres/markdownify-mcp
  • github.com/zcaceres/markdownify-mcp/blob/3667bd4765c0e49684ce22df268d02dd478a7f3b/src/Markdownify.ts
  • github.com/zcaceres/markdownify-mcp/commit/3a6b202d088ef7acb8be84bc09515f41a2b1a9df
  • nvd.nist.gov/vuln/detail/CVE-2025-5273
  • security.snyk.io/vuln/SNYK-JS-MCPMARKDOWNIFYSERVER-10249193

Code Behaviors & Features

Detect and mitigate CVE-2025-5273 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.1

Solution

Unfortunately, there is no solution available yet.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-552: Files or Directories Accessible to External Parties

Source file

npm/mcp-markdownify-server/CVE-2025-5273.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:41 +0000.