Skip to content

Context isolation bypass via leaked cross-context objects

High
MarshallOfSound published GHSA-m93v-9qjc-3g79 Jul 6, 2020

Package

npm electron (npm)

Affected versions

>=9.0.0-beta.0 <=9.0.0-beta.20 || >=8.0.0-beta.0 <=8.2.3 || >= 7.0.0-beta < =7.2.3 || <7

Patched versions

7.2.4,8.2.4,9.0.0-beta.21

Description

Impact

Apps using contextIsolation are affected.

This is a context isolation bypass, meaning that code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions.

Workarounds

There are no app-side workarounds, you must update your Electron version to be protected.

Fixed Versions

  • 9.0.0-beta.21
  • 8.2.4
  • 7.2.4

Non-Impacted Versions

  • 9.0.0-beta.*

For more information

If you have any questions or comments about this advisory:

Severity

High

CVE ID

CVE-2020-4076

Weaknesses

No CWEs