CVE-2020-37282
office-converter through 1.0.2 OS Command Injection via fileName in generatePdf
- State
- Published
- Severity
- 9.3 Critical
- Published
- Oct 14, 2026
- Updated
- Oct 26, 2026
- Reserved
- Oct 14, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
office-convertervworld4u |
|
References
- GitHub Security Advisory (GHSA-9p64-h5q4-phpm)third-party-advisory
- https://github.com/vworld4u/office-converter/pull/9patchissue-tracking
- https://github.com/vworld4u/office-converter/blob/b1ea855d0001dc7a5d66343698634dbc06b72c2d/index.js#L19-L20technical-description
- VulnCheck Advisory: office-converter through 1.0.2 OS Command Injection via fileName in generatePdfthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.