CVE-2020-4077

Context isolation bypass via contextBridge in Electron

Published Jul 7, 2020 CVSS 3.1 · 7.7 High EPSS 1.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-0558 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.
Github GHSA Github GHSA GHSA-h9jc-284h-533g Context isolation bypass via contextBridge in Electron
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 4, 2024, 7:52 AM
Reserved
Dec 30, 2019, 12:00 AM
Status
Modified
Published
Jul 7, 2020, 12:15 AM
Modified
Jun 17, 2026, 3:19 AM