CVE-2020-37279
HIGH
NVD
CVSS Score
8.1
Severity
HIGH
Published
Oct 12, 2026
Vendor
unknown
Description
easy-pdf-merge 0.1.0 through 0.2.6 contains an OS command injection vulnerability that allows attackers to execute commands by injecting shell metacharacters into source paths, destination path, or maxHeap option. Attackers can supply file names or options containing double quotes, semicolons, $() or backticks, which child_process.exec() runs through a shell with the Node.js process privileges.
References
- https://github.com/karuppiah7890/easy-pdf-merge
- https://github.com/karuppiah7890/easy-pdf-merge/blob/v0.2.6/source/lib/PDFMerger.js#L71-L75
- https://github.com/karuppiah7890/easy-pdf-merge/pull/28
- https://github.com/karuppiah7890/easy-pdf-merge/pull/45
- https://www.vulncheck.com/advisories/easy-pdf-merge-0.1.0-through-0.2.6-os-command-injection-via-merge-function