Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electron
  4. ›
  5. CVE-2018-15685

CVE-2018-15685: Insecure Default Initialization of Resource

August 23, 2018 (updated October 3, 2019)

GitHub Electron is affected by a WebPreferences vulnerability that can be leveraged to perform remote code execution.

References

  • electronjs.org/blog/web-preferences-fix
  • nvd.nist.gov/vuln/detail/CVE-2018-15685
  • www.exploit-db.com/exploits/45272/

Code Behaviors & Features

Detect and mitigate CVE-2018-15685 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

Version 1.7.15, version 1.8.7, version 2.0.7, version 3.0.0-beta.2

Fixed versions

  • 1.7.16
  • 1.8.8
  • 2.0.8
  • 3.0.0

Solution

Upgrade to versions 1.7.16, 1.8.8, 2.0.8, 3.0.0 or above.

Impact 8.1 HIGH

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

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

Source file

npm/electron/CVE-2018-15685.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:14 +0000.