{"id":"CVE-2018-3757","aliases":["EUVD-2020-0787","GHSA-5gwh-g79j-vh4q"],"status":"published","title":"Command Injection in pdf-image","description":"Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter.","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-07","score":0.04622,"percentile":0.91753,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2018-06-01T19:00:00Z","modified":"2026-10-20T10:50:27Z","fixes":[{"ecosystem":"npm","package":"pdf-image","fixed_in":["2.0.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"pdf-image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"pdf-image","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}]}],"products":[{"vendor":"pdf-image_project","product":"pdf-image"}],"references":[{"url":"https://hackerone.com/reports/340208","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/roest01/node-pdf-image/commit/54679496a89738443917608c2bbe2f6e5dd20e83","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.npmjs.com/advisories/670","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3757","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-5gwh-g79j-vh4q"},{"url":"https://github.com/roest01/node-pdf-image","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-3757","description":"Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter.","status":"published","published":"2018-06-01T19:00:00Z","modified":"2024-09-16T22:44:55.392Z","updated_at":"2026-11-02T14:35:05.619113Z"}],"euvd":[{"id":"EUVD-2020-0787","description":"Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter.","status":"published","published":"2018-06-01T19:00:00Z","modified":"2024-09-16T22:44:55Z","updated_at":"2026-11-03T00:55:00.660655Z"}],"ghsa":[{"id":"GHSA-5gwh-g79j-vh4q","title":"Command Injection in pdf-image","description":"Versions of `pdf-image` before 2.0.0 are vulnerable to command injection. This vulnerability is exploitable if the attacker has control over the `pdfFilePath` variable passed into `pdf-image`.\n\n\n## Recommendation\n\nUpdate to version 2.0.0 or later.","status":"published","published":"2020-09-01T20:44:52Z","modified":"2023-01-09T05:04:04Z","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-78"],"updated_at":"2026-11-02T14:36:08.267721Z"}],"nvd":[{"id":"CVE-2018-3757","description":"Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter.","status":"published","published":"2018-06-01T19:29:00.393Z","modified":"2026-06-17T01:57:46.787Z","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-78"],"updated_at":"2026-11-02T14:04:28.483469Z"}],"osv":[{"id":"CVE-2018-3757","description":"Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter.","status":"published","published":"2018-06-01T19:29:00.393Z","modified":"2026-10-20T10:50:27.800148592Z","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"}],"updated_at":"2026-11-02T15:44:09.442568Z"},{"id":"GHSA-5gwh-g79j-vh4q","title":"Command Injection in pdf-image","description":"Versions of `pdf-image` before 2.0.0 are vulnerable to command injection. This vulnerability is exploitable if the attacker has control over the `pdfFilePath` variable passed into `pdf-image`.\n\n\n## Recommendation\n\nUpdate to version 2.0.0 or later.","status":"published","published":"2020-09-01T20:44:52Z","modified":"2023-11-08T04:00:19.207216Z","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-78"],"updated_at":"2026-11-02T15:46:38.553953Z"}]}}
