CVE-2026-110647
highTurnpress through 0.4.2 contains an OS command injection vulnerability that allows attackers to execute shell commands by supplying .docx files with crafted na…
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/jinghaihan/turnpress/blob/v0.4.2/src/converter.ts#L33-L61 disclosure@vulncheck.com
- https://github.com/jinghaihan/turnpress/pull/2 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/turnpress-through-0.4.2-os-command-injection-via-craf... disclosure@vulncheck.com
