CVE-2025-58358
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-04

Last updated on: 2025-09-04

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-04
Last Modified
2025-09-04
Generated
2026-05-07
AI Q&A
2025-09-04
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
zcaceres mcp-markdownify-server 0.0.2
zcaceres mcp-markdownify-server 0.0.1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-77 The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a command injection flaw in Markdownify versions below 0.0.2. It occurs because the server uses unsanitized user input directly in shell commands via child_process.exec, allowing an attacker to inject arbitrary system commands. This can lead to remote code execution with the privileges of the server process.


How can this vulnerability impact me? :

Exploitation of this vulnerability can allow an attacker to execute arbitrary commands on the server remotely, potentially leading to full compromise of the server, data theft, data loss, or disruption of service depending on the privileges of the server process.


What immediate steps should I take to mitigate this vulnerability?

Upgrade Markdownify to version 0.0.2 or later, as this version contains the fix for the command injection vulnerability caused by unsanitized input parameters.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart