Advisory

GHSA-56pc-6jqp-xqj8

Also known as: CVE-2020-15215

Summary

Context isolation bypass in Electron

Details

Impact
Apps using both contextIsolation and sandbox: true are affected.
Apps using both contextIsolation and nativeWindowOpen: 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.

Workarounds
There are no app-side workarounds, you must update your Electron version to be protected.

Fixed Versions

  • 11.0.0-beta.6
  • 10.1.2
  • 9.3.1
  • 8.5.2

For more information
If you have any questions or comments about this advisory:

Severity

Low Basis: The source's own band: LOW

Dates

Published
2020-10-06 17:46 UTC
Modified
2026-07-08 06:00 UTC

Affected packages and fixes

electron

npm · All systems

Affected

  • introduced 8.0.0-beta.0, fixed 8.5.2 (semver)

Fixed versions

8.5.2

Fix

electron

npm · All systems

Affected

  • introduced 9.0.0-beta.0, fixed 9.3.1 (semver)

Fixed versions

9.3.1

Fix

electron

npm · All systems

Affected

  • introduced 10.0.0-beta.0, fixed 10.1.2 (semver)

Fixed versions

10.1.2

Fix

electron

npm · All systems

Affected

  • introduced 11.0.0-beta.0, fixed 11.0.0-beta.6 (semver)

Fixed versions

11.0.0-beta.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences