CVE Vulnerabilities

CVE-2018-15685

Initialization of a Resource with an Insecure Default

Published: Aug 23, 2018 | Modified: Jun 17, 2026
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product initializes or sets a resource with a default that is intended to be changed by the product’s installer, administrator, or maintainer, but the default is not secure.

Affected Software

NameVendorStart VersionEnd Version
ElectronElectronjs1.7.15 (including)1.7.15 (including)
ElectronElectronjs1.8.7 (including)1.8.7 (including)
ElectronElectronjs2.0.7 (including)2.0.7 (including)
ElectronElectronjs3.0.0-beta6 (including)3.0.0-beta6 (including)

References