Skip to content
CVE PROGRAM SOURCE RECORD8.5 High

CVE-2026-110647

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

jinghaihan turnpress

Default version status: unaffected

  • 0 to ≤ 0.4.2affected
pkg:npm/turnpress

References