# CVE-2025-58358: Markdownify is vulnerable to command injection through pptx-to-markdown tool

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 62% of CVEs (2026-12-01)
- Published: 2025-09-02T17:40:01.000Z
- Modified: 2026-06-17T09:44:21.407Z
- Also known as: GHSA-45qj-4xq3-3c45
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- zcaceres markdownify-mcp: < 0.0.2
- mcp-markdownify-server (npm): before 0.0.2

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/zcaceres/markdownify-mcp/security/advisories/GHSA-45qj-4xq3-3c45> (web)
- <https://github.com/zcaceres/markdownify-mcp/commit/a31204de058b22a47e1dcc24508993cfe97e5bb3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58358> (advisory)
- <https://github.com/zcaceres/markdownify-mcp> (package)

## Sources

- CVE List: [CVE-2025-58358](https://www.cve.org/CVERecord?id=CVE-2025-58358), CVE Terms of Use, modified 2025-09-04
- GitHub Advisory Database: [GHSA-45qj-4xq3-3c45](https://github.com/advisories/GHSA-45qj-4xq3-3c45), CC-BY-4.0, modified 2025-09-04
- NVD: [CVE-2025-58358](https://nvd.nist.gov/vuln/detail/CVE-2025-58358), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-58358 · Whole record: https://cve.day/CVE-2025-58358.json · Rebuilt by cve.day 2026-11-25T22:59:04.102Z
