Skip to content

CVE-2020-37282 office-converter through 1.0.2 OS Command Injection via fileName in generatePdf

CriticalCVSS 9.3 EPSS 3.4%
Published
Updated
Exploit status
No public exploit known

Description

office-converter through 1.0.2 contains an OS command injection vulnerability that allows attackers to execute commands by supplying a crafted fileName to generatePdf() or generateHtml(). Attackers can embed $(...), backticks, or a closing quote with shell metacharacters in the file name, which is concatenated into an unoconv command run via child_process.exec(), executing commands with Node.js process privileges.

Affected products

ProductAffected versionsFixed in
npm office-converter(npm) <= 1.0.2 No fix listed

References