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

Published Oct 14, 2026
·
Updated

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 childprocess.exec(), executing commands with Node.js process privileges.

Affected Software

1 affected component
npm/office-converter<=1.0.2

Event History

Oct 14, 2026
CVE Published
via MITRE·02:16 PM
Data Sourced
via MITRE·02:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What applications are exposed to this vulnerability?

Applications using npm/office-converter through version 1.0.2 are exposed if they pass attacker-controlled file names to generatePdf() or generateHtml(). The injected command runs with the privileges of the Node.js process.

2

What does an attacker need to exploit it?

An attacker needs to supply a crafted fileName value to generatePdf() or generateHtml(). Payloads can use command substitution such as $(...) or backticks, or a closing quote followed by shell metacharacters.

3

Is authentication or user interaction required?

No. The supplied severity vector indicates network exploitation with low attack complexity and no privileges or user interaction required.

4

How can I determine whether my application is affected?

Check whether your application depends on office-converter version 1.0.2 or earlier and whether untrusted input can reach the fileName argument of generatePdf() or generateHtml(). The vulnerable code constructs an unoconv command and executes it through child_process.exec().

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203