What’s Vulnerable › Vulnerabilities

CVE-2020-4077: Context isolation bypass via contextBridge in Electron

Description

In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using both `contextIsolation` and `contextBridge` are affected. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.

Affected products

How to fix

Upgrade to a fixed version: electron 7.2.4, 8.2.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-4077 or the next vulnerability affects your stack