Releases8
Frequency6 months 4 hours
Last Release
Provides an interface to convert PDF's pages to png files in Node.js by using ImageMagick.

CVE History

CVEAffectedPublishedCVSS v3CVSS v2
<= 2.0.09.8 CRITICAL

pdf-image (npm package) through version 2.0.0 allows OS command injection via the pdfFilePath parameter. The constructGetInfoCommand and constructConvertCommandForPage functions use util.format() to interpolate user-controlled file paths into shell command strings that are executed via child_process.exec()

<= 2.0.09.8 CRITICAL7.5 HIGH

Lack of input validation in pdf-image npm package version <= 2.0.0 may allow an attacker to run arbitrary code if PDF file path is constructed based on untrusted user input.

= 2.0.0, < 2.0.09.8 CRITICAL10 HIGH

Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter.