GitHub Advisory Database
GHSA-56pc-6jqp-xqj8
Context isolation bypass in Electron
Details
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.610.1.29.3.18.5.2
For more information
If you have any questions or comments about this advisory:
- Email us at [[email protected]](mailto:[email protected])
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | electron | From 8.0.0-beta.0 before 8.5.2 (fixed in 8.5.2) |
| npm | electron | From 9.0.0-beta.0 before 9.3.1 (fixed in 9.3.1) |
| npm | electron | From 10.0.0-beta.0 before 10.1.2 (fixed in 10.1.2) |
| npm | electron | From 11.0.0-beta.0 before 11.0.0-beta.6 (fixed in 11.0.0-beta.6) |