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.
The product initializes or sets a resource with a default that is intended to be changed by the administrator, but the default is not secure.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Electron | Electronjs | 1.7.15 (including) | 1.7.15 (including) |
Electron | Electronjs | 1.8.7 (including) | 1.8.7 (including) |
Electron | Electronjs | 2.0.7 (including) | 2.0.7 (including) |
Electron | Electronjs | 3.0.0-beta6 (including) | 3.0.0-beta6 (including) |
Developers often choose default values that leave the product as open and easy to use as possible out-of-the-box, under the assumption that the administrator can (or should) change the default value. However, this ease-of-use comes at a cost when the default is insecure and the administrator does not change it.