Skip to content
OpenAdvisories
Medium · 5.6 Public exploit CVE-2020-15215 EUVD-2020-1409GHSA-56pc-6jqp-xqj8

Context isolation bypass in Electron

Published Oct 6, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
electron electron >= 8.0.0-beta.0, < 8.5.2, >= 9.0.0-beta.0, < 9.3.1, >= 10.0.0-beta.0, < 10.1.2, >= 11.0.0-beta.0, < 11.0.0-beta.6 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm electron >= 8.0.0-beta.0, < 8.5.2 8.5.2 GHSA-56pc-6jqp-xqj8
npm electron >= 9.0.0-beta.0, < 9.3.1 9.3.1 GHSA-56pc-6jqp-xqj8
npm electron >= 10.0.0-beta.0, < 10.1.2 10.1.2 GHSA-56pc-6jqp-xqj8
npm electron >= 11.0.0-beta.0, < 11.0.0-beta.6 11.0.0-beta.6 GHSA-56pc-6jqp-xqj8

References