CVE-2018-15685Electronjs Electron
High 8.1 No auth neededHigh EPSS
Follow: this CVE · Electronjs · Electronjs Electron We alert you by email or Slack (account required).
- Priority
- 65
- CVSS 3.0
- 8.1
- EPSS
- 10.3% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Aug 23, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1188
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and "nativeWindowOpen: true" or "sandbox: true" options, is affected by a WebPreferences vulnerability that can be leveraged to perform remote code execution.
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.16 |
1.7.16 |
npm install electron@1.7.16 |
| npm | electron |
≥ 1.8.0 < 1.8.8 |
1.8.8 |
npm install electron@1.8.8 |
| npm | electron |
≥ 2.0.0 < 2.0.8 |
2.0.8 |
npm install electron@2.0.8 |
| npm | electron |
≥ 3.0.0-beta.1 < 3.0.0-beta.7 |
3.0.0-beta.7 |
npm install electron@3.0.0-beta.7 |
Per OSV / GitHub Advisories (GHSA-hv9c-qwqg-qj3v). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| electronjs | electron | 1.7.15 |
| electronjs | electron | 1.8.7 |
| electronjs | electron | 2.0.7 |
| electronjs | electron | 3.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- electronjs.org Mitigation Vendor Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry