Vulnerability in Electron

CVE-2020-15215

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.

EPSS: 0.007 (48.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.6 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.

Affected products

  • Electron — versions >= 8.0.0-beta.0, < 8.5.2, >= 9.0.0-beta.0, < 9.3.1, >= 10.0.0-beta.0, < 10.1.2
  • Electronjs Electron — versions 8.0.0, 8.0.1, 8.0.2

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-15215?
CVE-2020-15215 is a medium-severity vulnerability in Electron, classified under Exposure of Resource to Wrong Sphere. CVSS score: 5.6/10. Published 2020-10-06.
How severe is CVE-2020-15215?
Medium severity. CVSS v3 base score is 5.6 out of 10.
Is CVE-2020-15215 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.