ADVISORIES

GitHub Advisory Database

GHSA-m93v-9qjc-3g79

Context isolation bypass via leaked cross-context objects in Electron

Details

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:

Affected packages

EcosystemPackageAffected versions
npmelectron
All versions before 7.2.4 (fixed in 7.2.4)
npmelectron
From 8.0.0 before 8.2.4 (fixed in 8.2.4)

References