Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.1
CVE-2018-15685: GitHub Electron: Remote Code Execution Through IFRAME Elements
CVE-2018-15685 · published 8 years ago
Summary
Old versions of GitHub Electron can be tricked into running malicious code from within an IFRAME element. This could allow an attacker to take control of your computer. Update to the latest version of Electron to fix this issue.
What to do
- Update electron-nightly electron to version 1.7.16.
- Update electron-nightly electron to version 1.8.8.
- Update electron-nightly electron to version 2.0.8.
- Update electron-nightly electron to version 3.0.0-beta.7.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| npm | electron-nightly | electron |
>= 1.7.0, < 1.7.16 >= 1.8.0, < 1.8.8 >= 2.0.0, < 2.0.8 >= 3.0.0-beta.1, < 3.0.0-beta.7 Fix: upgrade to 1.7.16
|
| – | electronjs | electron |
1.7.15 1.8.7 2.0.7 3.0.0 cpe:2.3:a:electronjs:electron:1.7.15:*:*:*:*:*:*:* |
Original advisory text
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 vulne...
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-15685
- https://electronjs.org/blog/web-preferences-fix
- https://www.contrastsecurity.com/security-influencers/cve-2018-15685
- https://www.npmjs.com/advisories/732
- https://www.exploit-db.com/exploits/45272/
- https://github.com/electron/electron/commit/519a02d8d4d28e8a467acb40fb26172a80c9...
- https://github.com/electron/electron/commit/80221e52d93a96ea704cb6748ead669c55cf...
- https://github.com/electron/electron/commit/bab968ca776be28791e4dddfd50c86bd5fae...
- https://github.com/electron/electron/commit/ef0a6d9a1c96efc4657c6dd3a6624eba969f...
- https://github.com/advisories/GHSA-hv9c-qwqg-qj3v
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Type
CWE-1188Initialization of a Resource with an Insecure Default
Timeline
Published23 Aug 2018
Updated28 Oct 2026
First seen6 Mar 2026
Track software like this
Free during beta