CVE-2018-15685Published Aug 23, 2018 · Aug 23Updated Oct 24
Electron webPreferences vulnerability can be used to perform remote code execution
High8.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| electron npm |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| electron npm |
|
|
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.
From the CVE record · mitre
Electron's WebPreferences is vulnerable in certain scenarios involving IFRAME elements and the `nativeWindowOpen: true` or `sandbox: true` option. An attacker can leverage this to execute code remotely. The input does not specify whether authentication or user interaction is required.
Check applications using the npm `electron` package at versions >=1.7.0 <1.7.16, >=1.8.0 <1.8.8, >=2.0.0 <2.0.8, or >=3.0.0-beta.1 <3.0.0-beta.7.