~ / search / GHSA-h9jc-284h-533g

GHSA-h9jc-284h-533g

Context isolation bypass via contextBridge in Electron

Source: GitHub Advisory Database (reviewed) High CVE-2020-4077

Packages

EcosystemPackageAffectedFixed in
npm electron < 7.2.4 7.2.4
npm electron >= 8.0.0, < 8.2.4 8.2.4

Details

As written in the advisory (Markdown source, shown as plain text).

### Impact Apps using both `contextIsolation` and `contextBridge` 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` ### For more information If you have any questions or comments about this advisory: * Email us at [[email protected]](mailto:[email protected])

References

External links from the advisory. They lead to third-party sites.