GHSA-f273-crjh-xp28HighCVSS 7.8
Turnpress through 0.4.2 contains an OS command injection vulnerability that allows attackers to...
🔗 CVE IDs covered (1)
📋 Description
Turnpress through 0.4.2 contains an OS command injection vulnerability that allows attackers to execute shell commands by supplying .docx files with crafted names. The convertDocxToHtml function in src/converter.ts invokes pandoc through execa with shell:true, so shell metacharacters in the --docx path run with the victim's privileges during convert or create.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-110647
- https://github.com/jinghaihan/turnpress/pull/2
- https://github.com/jinghaihan/turnpress/blob/v0.4.2/src/converter.ts#L33-L61
- https://www.vulncheck.com/advisories/turnpress-through-0.4.2-os-command-injection-via-crafted-docx-file-names
- https://github.com/advisories/GHSA-f273-crjh-xp28