{"id":"CVE-2026-110647","revision":"d696631ff0934e3380530093a4ced24c","records":[{"revision":"d696631ff0934e3380530093a4ced24c","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-110647","aliases":[],"title":"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.","state":0,"publishedAt":"2026-10-14T14:17:15.77+00:00","modifiedAt":"2026-10-14T18:20:08.036+00:00","affected":[{"ecosystem":"https://www.npmjs.com","name":"turnpress","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"jinghaihan\",\n                    \"product\": \"turnpress\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"0.4.2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:npm/turnpress\",\n                    \"collectionURL\": \"https://www.npmjs.com\",\n                    \"repo\": \"https://github.com/jinghaihan/turnpress\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.5,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://github.com/jinghaihan/turnpress/pull/2","https://github.com/jinghaihan/turnpress/blob/v0.4.2/src/converter.ts#L33-L61","https://www.vulncheck.com/advisories/turnpress-through-0.4.2-os-command-injection-via-crafted-docx-file-names"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-110647","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-110647","identifiers":["CVE-2026-110647"]},"retained":false,"historicalAffected":[]}],"coverage":[]}