Versions of pdf-image
before 2.0.0 are vulnerable to command injection. This vulnerability is exploitable if the attacker has control over the pdfFilePath
variable passed into pdf-image
.
Recommendation
Update to version 2.0.0 or later.
References: