Context isolation bypass in Electron
electron
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| electron npm |
|
|
electron
| Product | Affected | Fixed in |
|---|---|---|
| electron npm |
|
|
Electron before versions 11.0.0-beta.6, 10.1.2, 9.3.1 or 8.5.2 is vulnerable to a context isolation bypass. Apps using both `contextIsolation` and `sandbox: true` are affected. Apps using both `contextIsolation` and `nodeIntegrationInSubFrames: 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.
From the CVE record · GitHub_M
Electron’s context isolation can be bypassed in apps that use `contextIsolation` with either `sandbox: true` or `nodeIntegrationInSubFrames: true`. Code running in the renderer’s main world can reach the isolated Electron context and perform privileged actions. The input does not specify a network, authentication, or user-interaction requirement.
Engineers running npm electron 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, or >=11.0.0-beta.0 <11.0.0-beta.6 should check their apps.