Read the docs
TI-2025-36147 Aliases CVE-2025-58358GHSA-45qj-4xq3-3c45

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

Priority HIGH 68CWE-77Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00965 61st percentileScored 2026-11-07
Fix Fixed markdownify-mcp (zcaceres): 0.0.2mcp-markdownify-server (npm): 0.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
zcaceresmarkdownify-mcpbefore 0.0.20.0.2Patch availableCNA
—mcp-markdownify-server (npm)before 0.0.20.0.2Patch availableGHSA-45qj-4xq3-3c45
  • markdownify-mcp Vendorzcaceres Affected before 0.0.2 Fixed in 0.0.2 Patch available CNA
  • mcp-markdownify-server (npm) Vendor— Affected before 0.0.2 Fixed in 0.0.2 Patch available GHSA-45qj-4xq3-3c45

Remediation

  • Fix · CNA markdownify-mcp (zcaceres) Fixed in 0.0.2
  • Fix · GHSA-45qj-4xq3-3c45 mcp-markdownify-server (npm) Fixed in 0.0.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-58358
  2. 2026-10-03 Alias added: GHSA-45qj-4xq3-3c45

References

  • TI-2025-40381 fetch-mcp v1.0.2 and before is vulnerable to Server-Side Request Forgery (SSRF)… CVSS 3.1HIGH 7.5
  • TI-2025-40380 A Server-Side Request Forgery (SSRF) vulnerability was discovered in the… CVSS 3.1HIGH 7.5
  • TI-2026-12394 zcaceres markdownify-mcp webpage-to-markdown Markdownify.ts saveToTempFile random values CVSS 4.0LOW 2.0
  • TI-2026-12391 zcaceres markdownify-mcp Markdownify.ts assertPathAllowed symlink CVSS 4.0MEDIUM 4.8

Sources