CVE-2018-1000118Electronjs Electron
High 8.8 No auth needed
Follow: this CVE · Electronjs · Electronjs Electron We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.0
- 8.8
- EPSS
- 2.4% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Mar 7, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Electron.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | electron |
< 1.8.2-beta5 |
1.8.2-beta5 |
npm install electron@1.8.2-beta5 |
Per OSV / GitHub Advisories (GHSA-fjqr-fx3f-g4rv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| electronjs | electron | ≤ 1.8.1 |
| electronjs | electron | 1.8.2 |
| electronjs | electron | 1.8.2 |
| electronjs | electron | 1.8.2 |
| electronjs | electron | 1.8.2 |
Official sources
References
Links published by the sources. Open them with care.
- electronjs.org Third Party Advisory
- github.com Patch Third Party Advisory