{"id":"GHSA-3pxp-6963-46r9","summary":"Command Injection in pdfinfojs","details":"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.\n\n\n## Recommendation\n\nUpdate to version 0.4.1 or later.","aliases":["CVE-2018-3746"],"modified":"2023-11-08T04:00:18.596470Z","published":"2018-06-07T19:43:00Z","database_specific":{"github_reviewed_at":"2020-06-16T20:55:51Z","nvd_published_at":"2018-06-01T17:29:00Z","cwe_ids":["CWE-77","CWE-78"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3746"},{"type":"WEB","url":"https://github.com/fagbokforlaget/pdfinfojs/commit/5cc59cd8aa13ca8d16bb41da8affdfef370ad4fd"},{"type":"WEB","url":"https://hackerone.com/reports/330957"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3pxp-6963-46r9"},{"type":"WEB","url":"https://www.npmjs.com/advisories/643"}],"affected":[{"package":{"name":"pdfinfojs","ecosystem":"npm","purl":"pkg:npm/pdfinfojs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/06/GHSA-3pxp-6963-46r9/GHSA-3pxp-6963-46r9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}