{"id":"CVE-2025-58358","published":"2025-09-04T00:34:33Z","modified":"2025-09-04T17:55:09Z","title":"Markdownify is vulnerable to command injection through pptx-to-markdown tool","vendor":"zcaceres","product":"markdownify-mcp","tier":"tail","description":{"text":"Markdownify is a Model Context Protocol server for converting almost anything to Markdown. Versions below 0.0.2 contain a command injection vulnerability, caused by the unsanitized use of input parameters within a call to child_process.exec, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges. The server constructs and executes shell commands using unvalidated user input directly within command-line strings. This introduces the possibility of shell metacharacter injection (|, >, &&, etc.). This issue is fixed in version 0.0.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00965,"percentile":0.62572,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/zcaceres/markdownify-mcp/security/advisories/GHSA-45qj-4xq3-3c45","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zcaceres/markdownify-mcp/commit/a31204de058b22a47e1dcc24508993cfe97e5bb3","tags":["x_refsource_MISC"]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":12.51},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"zcaceres","affectedVersions":[{"vendor":"zcaceres","product":"markdownify-mcp","versions":["< 0.0.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-09-04T17:54:31.968067Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mcp-markdownify-server","vulnerableRanges":["<0.0.2"],"patched":["0.0.2"],"from":["GHSA-45qj-4xq3-3c45"],"provenance":"source"}],"summary":{"text":"Markdownify-mcp, a Model Context Protocol server for converting files to Markdown by zcaceres, contains a command injection flaw in its pptx-to-markdown tool, where user-supplied input is passed unsanitized into a child_process.exec call. An attacker who can get crafted input to that tool can inject shell metacharacters and run arbitrary system commands under the server process's privileges, with exploitation requiring a high-complexity attack and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:36:49Z"},"euvd":{"id":"EUVD-2025-26660","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-zcaceres-markdownify-mcp-cve-2025-5273","parents":[{"from":"CVE-2025-5273","to":"CVE-2025-58358","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Markdownify.ts"],"commits":["https://github.com/zcaceres/markdownify-mcp/commit/3a6b202d088ef7acb8be84bc09515f41a2b1a9df","https://github.com/zcaceres/markdownify-mcp/commit/a31204de058b22a47e1dcc24508993cfe97e5bb3"],"basis":"shared function","functions":["Markdownify"]}]}]}}