CVE-2025-5273: Mcp markdownify server Markdownify MCP Server Allows Attackers Vulnerability
MODERATECVE-2025-5273 is a MODERATE (CVSS 6.5) markdownify mcp server allows attackers vulnerability (CWE-552: Files or Directories Accessible to External Parties) affecting Mcp markdownify server libraries in the npm ecosystem. The issue involves markdownify mcp server allows attackers to read arbitrary files. Remediation is available in the latest vendor maintenance releases.
CVE-2025-5273 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-5273
To remediate this vulnerability, upgrade all affected Mcp markdownify server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install mcp-markdownify-server@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls mcp-markdownify-server
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-5273, inspect your project dependencies using npm:
npm ls mcp-markdownify-server
Analyze the terminal output to locate any version of Mcp markdownify server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls mcp-markdownify-server command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-552: Files or Directories Accessible to External Parties, where the product makes files or directories accessible to unauthorized actors, even though they should not be. In Mcp markdownify server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-5273 Affected Mcp markdownify server Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mcp-markdownify-server
|
npm |
≤ 0.0.1
|
|
References
Frequently Asked Questions
What is CVE-2025-5273?
Which Mcp markdownify server versions are affected?
What version fixes CVE-2025-5273?
Is mcp-markdownify-server affected?
What is the CVSS score of CVE-2025-5273?
What CWE is associated with CVE-2025-5273?
How can I check npm dependencies for CVE-2025-5273?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-22v8-p7h2-rj7p",
"modified" : "2025-05-29T17:27:10Z",
"published" : "2025-05-29T06:31:17Z",
"aliases" : [ "CVE-2025-5273" ],
"summary" : "Markdownify MCP Server allows attackers to read arbitrary files",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "mcp-markdownify-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.0.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-5273"
}, {
"type" : "WEB",
"url" : "https://github.com/zcaceres/markdownify-mcp/commit/3a6b202d088ef7acb8be84bc09515f41a2b1a9df"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/zcaceres/markdownify-mcp"
}, {
"type" : "WEB",
"url" : "https://github.com/zcaceres/markdownify-mcp/blob/3667bd4765c0e49684ce22df268d02dd478a7f3b/src/Markdownify.ts#L94"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-JS-MCPMARKDOWNIFYSERVER-10249193"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-552" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-29T17:27:10Z",
"nvd_published_at" : "2025-05-29T05:15:21Z"
}
}