CVE-2025-5273: mcp-markdownify-server Arbitrary File Read Vulnerability

mcp-markdownify-server Updated 02 Oct 2025

Summary

29/05/2025
No i
Moderate
6.5

CVE-2025-5273: Markdownify MCP Server allows attackers to read arbitrary files. Affects mcp-markdownify-server versions < 0.0.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The mcp-markdownify-server is an npm package designed to convert Markdown files into HTML format. It provides a server-side solution for rendering Markdown content, making it easier for developers to integrate Markdown processing into their applications. However, this package has a significant vulnerability that allows unauthorized access to sensitive files on the server.

Vulnerability Detail

The vulnerability arises from the get-markdown-file tool within the mcp-markdownify-server package, which is susceptible to exploitation by attackers. By crafting a specific prompt that the MCP host processes, an attacker can gain access to arbitrary files on the server. This could lead to unauthorized disclosure of sensitive information, potentially compromising the security of the entire application. The vulnerability is classified under CWE-552, indicating that files or directories are accessible to external parties without proper authorization.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can restrict access to the server or implement additional validation on the input prompts to prevent unauthorized file access. However, this is not a permanent solution and updating the package is strongly advised.

Conclusion

The mcp-markdownify-server package has a critical vulnerability that allows attackers to read arbitrary files from the server. It is essential to update to a patched version to safeguard your application against potential exploits. Regular monitoring and vulnerability management practices, such as using tools like Vulert, can help maintain the security of your software.

See every vulnerability recorded for mcp-markdownify-server →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 6.5, indicating a moderate level of risk.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If exploited, this vulnerability can lead to unauthorized access to sensitive files, which may compromise user data and application integrity.

Yes, a patched version of the mcp-markdownify-server package is available. It is recommended to update to a version above 0.0.1.

If an immediate update is not possible, consider implementing access restrictions and validating input prompts to mitigate the risk temporarily.

Related vulnerabilities

Recent vulnerabilities recorded for mcp-markdownify-server.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback