Improper Access Control Affecting electron package, versions >=8.0.0-beta.0 <8.5.2 >=9.0.0-beta.0 <9.3.1 >=10.0.0-beta.0 <10.1.2 >=11.0.0-beta.0 <11.0.0-beta.6


0.0
medium

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.09% (39th percentile)
Expand this section
NVD
5.6 medium

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 ID SNYK-JS-ELECTRON-1016271
  • published 7 Oct 2020
  • disclosed 6 Oct 2020
  • credit Jeremy Rose, Samuel Attard

How to fix?

Upgrade electron to version 8.5.2, 9.3.1, 10.1.2, 11.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 Improper Access Control. Apps using both contextIsolation and sandbox: true or nativeWindowOpen: true are affected. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions.

References