CVE-2018-1000118: electronjs electron OS Command Injection
Vulnerability summary
CVE-2018-1000118 is a high (CVSS 9.3) OS Command Injection vulnerability in electronjs electron. EPSS estimates a 2.40% chance of exploitation in the next 30 days, higher than 83.8% of scored vulnerabilities.
Timeline
- 07-03-2018PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · NpmEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.40%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
0.00 pp
From 2.40% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Electronjs1 product
- electron≤ 1.8.1 | 1.8.2:beta.1 | 1.8.2:beta.2 | 1.8.2:beta.3 | 1.8.2:beta.4
Npm1 product
- electron< 1.8.2-beta5
2 vendors · 2 products
References
4 links- github.com/electron/electron/commit/ce361a12e355f9e1e99c989f1ea056c9e502dbe7X Refsource CONFIRMPatchThird Party AdvisoryWEB