| Package | Affected versions | Patched versions |
|---|---|---|
| pdf-image | ≤ 2.0.0 | |
| pdf-image | ≤ 2.0.0 |
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().
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free