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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (42nd 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 Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ELECTRON-1016271
  • published7 Oct 2020
  • disclosed6 Oct 2020
  • creditJeremy Rose, Samuel Attard

Introduced: 6 Oct 2020

CVE-2020-15215  (opens in a new tab)
CWE-284  (opens in a new tab)

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

CVSS Scores

version 3.1