CVE-2025-5273: mcp-markdownify-server Arbitrary File Read Vulnerability
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.