Skip to content
OpenAdvisories
High · 7.5 CVE-2025-58358 EUVD-2025-26660GHSA-45qj-4xq3-3c45

Markdownify is vulnerable to command injection through pptx-to-markdown tool

Published Sep 4, 2025 · Updated Sep 4, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
zcaceres markdownify-mcp < 0.0.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm mcp-markdownify-server < 0.0.2 0.0.2 GHSA-45qj-4xq3-3c45

References