Skip to main content
← All vulnerabilities
CVE-2020-15215GHSA-56PC-6JQP-XQJ8

Context isolation bypass in Electron

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.5.2, 9.3.1, 10.1.2, 11.0.0-beta.6
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • electron electron

    From 8.0.0-beta.0 · fixed in 8.5.2; From 9.0.0-beta.0 · fixed in 9.3.1; From 10.0.0-beta.0 · fixed in 10.1.2; From 11.0.0-beta.0 · fixed in 11.0.0-beta.6

  • electronnpm

    From 8.0.0-beta.0 · fixed in 8.5.2

  • electronnpm

    From 9.0.0-beta.0 · fixed in 9.3.1

  • electronnpm

    From 10.0.0-beta.0 · fixed in 10.1.2

  • electronnpm

    From 11.0.0-beta.0 · fixed in 11.0.0-beta.6

References 2

GitHub · electron/electron

GitHub · NishantIyer/CVE-2020-15215-Discord-POC