{"schemaVersion":3,"id":"CVE-2018-3746","aliases":["GHSA-3pxp-6963-46r9"],"status":"published","duplicateOf":null,"title":null,"description":"The pdfinfojs NPM module versions <= 0.3.6 has a command injection vulnerability that allows an attacker to execute arbitrary commands on the victim's machine.","dates":{"published":"2018-06-01T17:00:00.000Z","modified":"2024-08-05T04:50:30.717Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":10,"severity":"high","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.04853,"percentile":0.91933,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.07500000000000007,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.04928},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04853,"percentile":0.91933}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04928,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04853,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04853,"percentile":0.91933}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_C0C483B4155B7DB6","name":"Exploit Reference (hackerone.com)","source":"reference","url":"https://hackerone.com/reports/330957","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"hackerone","product":"pdfinfojs","name":"pdfinfojs","label":"pdfinfojs","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.3.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.3.6","eol":null,"hubHref":"/vendor/hackerone/pdfinfojs"},{"vendor":"Npm","product":"pdfinfojs","name":"pdfinfojs","label":"pdfinfojs","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/pdfinfojs","purlType":"npm","versions":[{"text":"< 0.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4.1","eol":null,"hubHref":null},{"vendor":"pdfinfojs_project","product":"pdfinfojs","name":"pdfinfojs","label":"pdfinfojs","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.3.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.3.6","eol":null,"hubHref":"/vendor/pdfinfojs_project/pdfinfojs"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://hackerone.com/reports/330957","label":"hackerone.com/reports/330957","hostname":"hackerone.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3746","label":"nvd.nist.gov/vuln/detail/CVE-2018-3746","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/fagbokforlaget/pdfinfojs/commit/5cc59cd8aa13ca8d16bb41da8affdfef370ad4fd","label":"github.com/fagbokforlaget/pdfinfojs/commit/5cc59cd8aa13ca8d16bb41da8affdfef370ad4fd","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-3pxp-6963-46r9","label":"github.com/advisories/GHSA-3pxp-6963-46r9","hostname":"github.com","tags":["Advisory"]},{"url":"https://www.npmjs.com/advisories/643","label":"www.npmjs.com/advisories/643","hostname":"www.npmjs.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-06-01T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T04:50:30.717Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":90,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:25:03.849Z","stale":false,"partial":false}}