Skip to content
OpenAdvisories
Medium · 6.8 CVE-2020-15096 EUVD-2020-0541GHSA-6vrv-94jv-crrg

Context isolation bypass via Promise in Electron

Published Jul 7, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

Description

In Electron before versions 6.1.1, 7.2.4, 8.2.4, and 9.0.0-beta21, there 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. Apps using "contextIsolation" are affected. There are no app-side workarounds, you must update your Electron version to be protected. This is fixed in versions 6.1.1, 7.2.4, 8.2.4, and 9.0.0-beta21.

Affected products

VendorProductAffectedFixed
electron electron < 6.1.1, >= 7.0.0, < 7.2.4, >= 8.0.0, < 8.2.4, >=9.0.0-beta.0, < 9.0.0-beta.21 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm electron < 6.1.11 6.1.11 GHSA-6vrv-94jv-crrg
npm electron >= 7.0.0, < 7.2.4 7.2.4 GHSA-6vrv-94jv-crrg
npm electron >= 8.0.0, < 8.2.4 8.2.4 GHSA-6vrv-94jv-crrg

References