CVE-2020-37282 vworld4u · office-converter
9.8 Critical
AI summary
In office-converter through 1.0.2, a crafted fileName passed to generatePdf() or generateHtml() is inserted into an unoconv command run via child_process.exec(). This lets commands run with Node.js process privileges, remotely and without authentication. Critical (CVSS 9.8), no known active exploitation; no fixed version is named.
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.
- Published
- 2026-10-14 15:16 UTC
- Modified
- 2026-10-26 17:17 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 3.56% (percentile 90)
- ENISA EUVD
- EUVD-2020-31281
- CWE
- CWE-78
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/advisories/GHSA-9p64-h5q4-phpm - github.com
https://github.com/vworld4u/office-converter/blob/b1ea855d0001dc7a5d66343698634dbc06b72c2d/index.js#L19-L20 - github.com
https://github.com/vworld4u/office-converter/pull/9 - www.vulncheck.com
https://www.vulncheck.com/advisories/office-converter-through-1.0.2-os-command-injection-via-filename-in-generatepdf