Versions of pdfinfojs before 0.4.1 are vulnerable to command injection. This is exploitable if an attacker can control the filename parameter that is passed into the pdfinfojs constructor.
Update to version 0.4.1 or later.
{
"cwe_ids": [
"CWE-77",
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T20:55:51Z",
"nvd_published_at": "2018-06-01T17:29:00Z",
"severity": "CRITICAL"
}