CVE-2018-1000136Electronjs Electron
High 8.1 No auth needed
Follow: this CVE · Electronjs · Electronjs Electron We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.0
- 8.1
- EPSS
- 5.1% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Mar 23, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Electron version 1.7 up to 1.7.12; 1.8 up to 1.8.3 and 2.0.0 up to 2.0.0-beta.3 contains an improper handling of values vulnerability in Webviews that can result in remote code execution. This attack appear to be exploitable via an app which allows execution of 3rd party code AND disallows node integration AND has not specified if webview is enabled/disabled. This vulnerability appears to have been fixed in 1.7.13, 1.8.4, 2.0.0-beta.4.
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.7.0 < 1.7.13 |
1.7.13 |
npm install electron@1.7.13 |
| npm | electron |
≥ 1.8.0 < 1.8.4 |
1.8.4 |
npm install electron@1.8.4 |
| npm | electron |
≥ 2.0.0-beta.1 < 2.0.0-beta.5 |
2.0.0-beta.5 |
npm install electron@2.0.0-beta.5 |
Per OSV / GitHub Advisories (GHSA-8xwg-wv7v-4vqp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| electronjs | electron | ≥ 1.7.0 ≤ 1.7.12 |
| electronjs | electron | > 1.8.0 ≤ 1.8.3 |
| electronjs | electron | 2.0.0 |
| electronjs | electron | 2.0.0 |
| electronjs | electron | 2.0.0 |
| electronjs | electron | 2.0.0 |
| electronjs | electron | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.electronjs.org Mitigation Patch Vendor Advisory
- www.trustwave.com Exploit Third Party Advisory