Security Features Affecting electron package, versions <1.7.15>=1.8.1 <1.8.7>=2.0.0-beta.1 <2.0.7>=3.0.0-beta.1 <3.0.0-beta.6


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
13.25% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Security Features vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ELECTRON-10587789
  • published3 Jul 2025
  • disclosed23 Aug 2018
  • creditUnknown

Introduced: 23 Aug 2018

CVE-2018-15685  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade electron to version 1.7.15, 1.8.7, 2.0.7, 3.0.0-beta.6 or higher.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Security Features. 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.

CVSS Base Scores

version 3.1