Description
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.
Remediation
References
https://github.com/nrhirani/node-qpdf/issues/23
https://security.snyk.io/vuln/SNYK-JS-NODEQPDF-5747918
Related Vulnerabilities
CVE-2023-47322 Vulnerability in maven package org.silverpeas.core:silverpeas-core-web
CVE-2022-45688 Vulnerability in maven package cn.hutool:hutool-json
CVE-2018-1002201 Vulnerability in maven package org.zeroturnaround:zt-zip
CVE-2022-35923 Vulnerability in npm package v8n
CVE-2022-0839 Vulnerability in maven package org.liquibase:liquibase-core