Skip to content
Fencer Intel
high 8.1

CVE-2018-15685 in the critical feed json

Electron webPreferences vulnerability can be used to perform remote code execution

published 8y ago modified 4mo ago also GHSA-hv9c-qwqg-qj3v , EUVD-2018-0403

cvss
8.1
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
10.3%
EPSS 10.3% chance of exploitation in 30 days, percentile 95%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

Is CVE-2018-15685 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Timeline

  1. Published
  2. First public exploit (EDB-45272)

Exploit prediction

10.30% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-45272 Electron WebPreferences - Remote Code Execution remote, 2018-08-27

CVSS scores

assigned by version score vector
NVD 3.0 8.1 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub 3.0 8.1 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm 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
1.7.16
1.8.8
2.0.8
3.0.0-beta.7

Classification

Weakness
  • CWE-1188 Initialization of a Resource with an Insecure Default

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.