Live threats

All CVEs / Electronjs

CVE-2018-15685Electronjs Electron

High 8.1 No auth neededHigh EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Electron.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
electronjselectron1.7.15
electronjselectron1.8.7
electronjselectron2.0.7
electronjselectron3.0.0

Official sources

References

Links published by the sources. Open them with care.