{"id":"CVE-2026-110647","published":"2026-10-14T15:17:18.373","lastModified":"2026-10-15T14:47:05.720","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.","cvssScore":7.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":["CWE-78"],"vendors":[],"products":[],"references":[{"url":"https://github.com/jinghaihan/turnpress/blob/v0.4.2/src/converter.ts#L33-L61","tags":[]},{"url":"https://github.com/jinghaihan/turnpress/pull/2","tags":[]},{"url":"https://www.vulncheck.com/advisories/turnpress-through-0.4.2-os-command-injection-via-crafted-docx-file-names","tags":[]}],"exploitRefs":[{"url":"https://github.com/jinghaihan/turnpress/blob/v0.4.2/src/converter.ts#L33-L61","tags":[]},{"url":"https://github.com/jinghaihan/turnpress/pull/2","tags":[]}],"hasPoc":true,"ai":null}