---
id: CVE-2025-5273
title: >-
  Versions of the package mcp-markdownify-server before 1.0.0 are vulnerable to
  Files or Directories Accessible to External Parties via the get-markdown-file
  tool
summary: >-
  Versions of the package mcp-markdownify-server before 1.0.0 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
  al…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'
cwe:
  - CWE-552
  - CWE-552
published: '2025-05-29'
updated: '2026-07-16'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-5273'
references:
  - url: >-
      https://github.com/zcaceres/markdownify-mcp/blob/3667bd4765c0e49684ce22df268d02dd478a7f3b/src/Markdownify.ts%23L94
    label: report@snyk.io
  - url: >-
      https://github.com/zcaceres/markdownify-mcp/commit/3a6b202d088ef7acb8be84bc09515f41a2b1a9df
    label: report@snyk.io
  - url: 'https://security.snyk.io/vuln/SNYK-JS-MCPMARKDOWNIFYSERVER-10249193'
    label: report@snyk.io
  - url: 'https://security.snyk.io/vuln/SNYK-JS-MCPMARKDOWNIFYSERVER-10249193'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00388
epssPercentile: 0.32846
ingestedAt: '2026-07-16T16:55:46.892Z'
---

## Overview

Versions of the package mcp-markdownify-server before 1.0.0 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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
