VDB
KO
HIGH 7.7

GHSA-h9jc-284h-533g

Context isolation bypass via contextBridge in Electron

Details

### 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 [security@electronjs.org](mailto:security@electronjs.org)

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / electron
Introduced in: 0 Fixed in: 7.2.4
Fix npm install electron@7.2.4
npm / electron
Introduced in: 8.0.0 Fixed in: 8.2.4
Fix npm install electron@8.2.4

References