GitHub Advisory Database
GHSA-5gwh-g79j-vh4q
Command Injection in pdf-image
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | pdf-image | All versions before 2.0.0 (fixed in 2.0.0) |