Skip to content
OpenAdvisories
High · 7.8 CVE-2026-110647 EUVD-2026-101275GHSA-f273-crjh-xp28

Turnpress through 0.4.2 OS Command Injection via Crafted .docx File Names

Published Oct 14, 2026 · Updated Oct 14, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
jinghaihan turnpress ≤ 0.4.2 —

References