{"schemaVersion":3,"id":"CVE-2018-1000118","aliases":["GHSA-fjqr-fx3f-g4rv"],"status":"published","duplicateOf":null,"title":null,"description":"Github Electron version Electron 1.8.2-beta.4 and earlier contains a Command Injection vulnerability in Protocol Handler that can result in command execute. This attack appear to be exploitable via the victim opening an electron protocol handler in their browser. This vulnerability appears to have been fixed in Electron 1.8.2-beta.5. This issue is due to an incomplete fix for CVE-2018-1000006, specifically the black list used was not case insensitive allowing an attacker to potentially bypass it.","dates":{"published":"2018-03-07T14:00:00.000Z","modified":"2024-09-16T17:23:13.143Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9.3,"severity":"high","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Npm","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.02404,"percentile":0.839,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.04799999999999978,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.02356},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02404,"percentile":0.839}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02404,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02404,"percentile":0.839}]},"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":[],"exploitCount":0,"weaknesses":[{"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":"electronjs","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.8.1","noFixRecorded":false,"fixedIn":null},{"text":"1.8.2:beta.1","noFixRecorded":false,"fixedIn":null},{"text":"1.8.2:beta.2","noFixRecorded":false,"fixedIn":null},{"text":"1.8.2:beta.3","noFixRecorded":false,"fixedIn":null},{"text":"1.8.2:beta.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.8.1 | 1.8.2:beta.1 | 1.8.2:beta.2 | 1.8.2:beta.3 | 1.8.2:beta.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"electron","label":"Electron","category":"framework"}},"hubHref":"/vendor/electronjs/electron"},{"vendor":"Npm","product":"electron","name":"electron","label":"electron","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/electron","purlType":"npm","versions":[{"text":"< 1.8.2-beta5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.2-beta5","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://electronjs.org/releases#1.8.2-beta.5","label":"electronjs.org/releases","hostname":"electronjs.org","tags":["X Refsource CONFIRM","Third Party Advisory","WEB"]},{"url":"https://github.com/electron/electron/commit/ce361a12e355f9e1e99c989f1ea056c9e502dbe7","label":"github.com/electron/electron/commit/ce361a12e355f9e1e99c989f1ea056c9e502dbe7","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000118","label":"nvd.nist.gov/vuln/detail/CVE-2018-1000118","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-fjqr-fx3f-g4rv","label":"github.com/advisories/GHSA-fjqr-fx3f-g4rv","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-03-07T14:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T17:23:13.143Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T15:38:58.742Z","stale":false,"partial":false}}