Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/jinghaihan/turnpress/blob/v0.4.2/src/converter.ts#L33-L61
- https://github.com/jinghaihan/turnpress/pull/2
- https://www.vulncheck.com/advisories/turnpress-through-0.4.2-os-command-injectio
FAQ
What is CVE-2026-110647?
CVE-2026-110647 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 sr...
How severe is CVE-2026-110647?
CVE-2026-110647 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-110647?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.