GitHub Advisory Database
GHSA-fpr8-4wvx-j9q3
node-qpdf vulnerable to command injection
Details
All versions of the package node-qpdf are vulnerable to Command Injection such that the package-exported method encrypt() fails to sanitize its parameter input, which later flows into a sensitive command execution API. As a result, attackers may inject malicious commands once they can specify the input pdf file path.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | node-qpdf | All versions up to and including 1.0.3 |