{"id":"CVE-2018-3746","aliases":["EUVD-2018-0195","GHSA-3pxp-6963-46r9"],"status":"published","title":"Command Injection in pdfinfojs","description":"The pdfinfojs NPM module versions \u003c= 0.3.6 has a command injection vulnerability that allows an attacker to execute arbitrary commands on the victim's machine.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04853,"percentile":0.92086,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77","CWE-78"],"published":"2018-06-01T17:00:00Z","modified":"2026-06-17T01:57:45Z","fixes":[{"ecosystem":"npm","package":"pdfinfojs","fixed_in":["0.4.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"pdfinfojs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.1"}]}]},{"source":"osv","ecosystem":"npm","package":"pdfinfojs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.1"}]}]}],"products":[{"vendor":"hackerone","product":"pdfinfojs"},{"vendor":"pdfinfojs_project","product":"pdfinfojs"}],"references":[{"url":"https://hackerone.com/reports/330957","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3746","tags":["advisory"]},{"url":"https://github.com/fagbokforlaget/pdfinfojs/commit/5cc59cd8aa13ca8d16bb41da8affdfef370ad4fd","tags":["web"]},{"url":"https://github.com/advisories/GHSA-3pxp-6963-46r9","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/643","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-3746","description":"The pdfinfojs NPM module versions \u003c= 0.3.6 has a command injection vulnerability that allows an attacker to execute arbitrary commands on the victim's machine.","status":"published","published":"2018-06-01T17:00:00Z","modified":"2024-08-05T04:50:30.717Z","cwes":["CWE-77"],"updated_at":"2026-11-02T14:35:05.619113Z"}],"euvd":[{"id":"EUVD-2018-0195","description":"The pdfinfojs NPM module versions \u003c= 0.3.6 has a command injection vulnerability that allows an attacker to execute arbitrary commands on the victim's machine.","status":"published","published":"2018-06-01T17:00:00Z","modified":"2024-08-05T04:50:30Z","updated_at":"2026-11-03T02:40:15.759349Z"}],"ghsa":[{"id":"GHSA-3pxp-6963-46r9","title":"Command Injection in pdfinfojs","description":"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.","status":"published","published":"2018-06-07T19:43:00Z","modified":"2023-01-31T01:39:21Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77","CWE-78"],"updated_at":"2026-11-02T14:36:29.100018Z"}],"nvd":[{"id":"CVE-2018-3746","description":"The pdfinfojs NPM module versions \u003c= 0.3.6 has a command injection vulnerability that allows an attacker to execute arbitrary commands on the victim's machine.","status":"published","published":"2018-06-01T17:29:00.61Z","modified":"2026-06-17T01:57:45.7Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-77","CWE-78"],"updated_at":"2026-11-02T14:04:28.483469Z"}],"osv":[{"id":"GHSA-3pxp-6963-46r9","title":"Command Injection in pdfinfojs","description":"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.","status":"published","published":"2018-06-07T19:43:00Z","modified":"2023-11-08T04:00:18.59647Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77","CWE-78"],"updated_at":"2026-11-02T15:46:36.092962Z"}]}}
