Skip to main content
← All vulnerabilities
CVE-2025-58358GHSA-45QJ-4XQ3-3C45

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • zcaceres markdownify-mcp

    fixed in 0.0.2

  • mcp-markdownify-servernpm

    fixed in 0.0.2

References 2

GitHub · zcaceres/markdownify-mcp