CVE-2020-37282 office-converter through 1.0.2 OS Command Injection via fileName in generatePdf
Attackers can execute arbitrary OS commands via crafted file names in office-converter, leading to code execution with Node.js privileges.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-37282?
CVE-2020-37282 is a critical command injection vulnerability in vworld4u office-converter, published on 14 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2020-37282?
How do I fix CVE-2020-37282?
No fix has been published for CVE-2020-37282 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-37282 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-37282 exists.
Sources
Also known as GHSA-869r-fxq2-q8qx.