Skip to content

Context isolation bypass in Electron

Low severity GitHub Reviewed Published Oct 5, 2020 in electron/electron • Updated Jan 9, 2023

Package

npm electron (npm)

Affected 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.5

Patched versions

8.5.2
9.3.1
10.1.2
11.0.0-beta.6

Description

Impact

Apps using both contextIsolation and sandbox: true are affected.
Apps using both contextIsolation and nativeWindowOpen: true 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

  • 11.0.0-beta.6
  • 10.1.2
  • 9.3.1
  • 8.5.2

For more information

If you have any questions or comments about this advisory:

References

@MarshallOfSound MarshallOfSound published to electron/electron Oct 5, 2020
Reviewed Oct 6, 2020
Published to the GitHub Advisory Database Oct 6, 2020
Last updated Jan 9, 2023

Severity

Low

CVE ID

CVE-2020-15215

GHSA ID

GHSA-56pc-6jqp-xqj8

Source code

No known source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.