Skip to main content
← All vulnerabilities
CVE-2020-4077GHSA-H9JC-284H-533G

Context isolation bypass via contextBridge in Electron

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.2.4, 7.2.4
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • electron electron

    From 9.0.0-beta.0 · through 9.0.0-beta.20; From 8.0.0 · fixed in 8.2.4; fixed in 7.2.4

  • electronnpm

    fixed in 7.2.4

  • electronnpm

    From 8.0.0 · fixed in 8.2.4

References 2

GitHub · electron/electron

electronjs.org