CVE-2020-37282 PUBLISHED

office-converter through 1.0.2 OS Command Injection via fileName in generatePdf

Assigner: VulnCheck
Reserved: 14.10.2026 Published: 14.10.2026 Updated: 14.10.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 9.3

Product Status

Vendor vworld4u
Product office-converter
Versions Default: unaffected
  • affected from 0 to 1.0.2 (incl.)

Credits

  • Zachariah Mithani finder

References

Problem Types

  • Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE