Organisations urged to patch Node.js office-converter CVE-2020-37282 critical remote command execution flaw immediately
A critical vulnerability in the Node.js office-converter library allows remote command execution, requiring immediate attention for versions up to 1.0.2.

Key points
- The flaw is tracked as CVE-2020-37282 with a CVSS score of 9.3, rated Critical.
- Attackers can inject OS commands by manipulating the fileName parameter in specific functions.
- Affected versions include all releases of the vworld4u office-converter library up to 1.0.2.
The vworld4u office-converter library for Node.js contains a critical security flaw that allows remote attackers to execute arbitrary operating system commands. This vulnerability, identified as CVE-2020-37282, affects all versions of the library up to and including 1.0.2. The flaw enables command injection through the generatePdf() and generateHtml() functions when a crafted fileName is supplied. The source material does not state whether a fix or update exists.
How it unfolded
- The vulnerability was recorded in the National Vulnerability Database as CVE-2020-37282.
- Security researchers identified that the library concatenates user input directly into shell commands.
- The flaw was classified with a CVSS score of 9.3, indicating a critical severity level.
- The weakness is categorized under CWE-78, which relates to OS command injection issues.
Who is affected
Organizations using the vworld4u office-converter Node.js library in versions up to 1.0.2 are at risk. Specifically, any application utilizing the generatePdf() or generateHtml() functions with user-controlled input is vulnerable. Attackers can exploit this by embedding shell metacharacters such as backticks, dollar signs with parentheses, or closing quotes within the fileName argument. These inputs are passed directly to the unoconv command via child_process.exec(), allowing execution with the privileges of the Node.js process.
Our take on the response
The severity rating of 9.3 underscores the immediate danger posed by this vulnerability. Because the flaw allows command execution within the context of the Node.js process, attackers can execute commands with Node.js process privileges. The source material does not confirm the availability of a patch, meaning teams must rely on mitigation strategies or consider alternative libraries. That suggests organizations should treat this as a high-priority issue requiring immediate assessment of exposure.
Who needs to act first
Teams should prioritize systems where the office-converter library processes input from untrusted sources. Check whether external users can influence the fileName parameter in any API endpoints. If exposure is confirmed, isolate those services immediately to limit potential damage. Evaluate whether the library can be temporarily removed or replaced with a safer alternative. Ensure that logs are monitored for unusual command execution patterns. Coordinate with development teams to assess the feasibility of switching libraries while waiting for an official vendor update.
What to do and how to stay safe: Node.js
- Audit your Node.js applications to identify any usage of the vworld4u office-converter library.
- Verify the installed version to determine if it is 1.0.2 or earlier.
- Implement strict input validation to reject filenames containing shell metacharacters.
- Monitor system logs for unexpected command executions or unusual process activity.
Step-by-step guide: Vulnerability Prioritization: How to Rank Risks Without Wasting Time
General security guidance from the Patch Observer newsroom. It is not confirmed advice from the organisations named in this story.
Frequently asked questions
What is the CVE ID for this vulnerability?
The vulnerability is tracked as CVE-2020-37282 in the National Vulnerability Database.
Which versions of the library are affected?
All versions of the vworld4u office-converter library up to and including 1.0.2 are affected.
Is there a patch available for this flaw?
The source material does not state whether a patch or update exists.



