CVE-2018-1000118 json
Electron protocol handler browser vulnerable to Command Injection
published 8y ago modified 4mo ago also GHSA-fjqr-fx3f-g4rv , EUVD-2018-0179
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2018-1000118 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
2.40% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | electron | <1.8.2-beta5 |
1.8.2-beta5 |
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/electron/electron/commit/ce361a12e355f9e1e99c989f1ea056c9e502dbe7
web, patch, third-party-advisory
-
electronjs.org
/releases#1.8.2-beta.5
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-1000118
advisory
-
github.com
/advisories/GHSA-fjqr-fx3f-g4rv
advisory
Sources
- CVE List CVE-2018-1000118
- GitHub Advisory GHSA-fjqr-fx3f-g4rv
- NVD CVE-2018-1000118
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.