CVE-2020-15215: electron Exposure of Resource to Wrong Sphere
Vulnerability summary
CVE-2020-15215 is a medium (CVSS 6.8) Exposure of Resource to Wrong Sphere vulnerability in electron. EPSS estimates a 0.68% chance of exploitation in the next 30 days, higher than 51.6% of scored vulnerabilities.
Timeline
- 06-10-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- NVDNIST5.6MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS trend
Probability
0.68%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
0.00 pp
From 0.68% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-668Exposure of Resource to Wrong SphereThe product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.
- CWE-693Protection Mechanism FailureThe product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.
Affected systems
Electron1 product
- 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
Electronjs1 product
- electronEOL8.0.0 | 8.0.0:beta0 | 8.0.0:beta1 | 8.0.0:beta2 | 8.0.0:beta3 | 8.0.0:beta4 | 8.0.0:beta5 | 8.0.0:beta6 | 8.0.0:beta7 | 8.0.0:beta8 | 8.0.0:beta9 | 8.0.1 | 8.0.2 | 8.0.3 | 8.1.0 | 8.1.1 | 8.2.0 | 8.2.1 | 8.2.2 | 8.2.3 | 8.2.4 | 8.2.5 | 8.3.0 | 8.3.1 | 8.3.2 | 8.3.3 | 8.3.4 | 8.4.0 | 8.4.1 | 8.5.0 | 8.5.1 | 9.0.0 | 9.0.0:beta0 | 9.0.0:beta1 | 9.0.0:beta10 | 9.0.0:beta11 | 9.0.0:beta12 | 9.0.0:beta13 | 9.0.0:beta14 | 9.0.0:beta15 | 9.0.0:beta16 | 9.0.0:beta17 | 9.0.0:beta18 | 9.0.0:beta19 | 9.0.0:beta2 | 9.0.0:beta20 | 9.0.0:beta3 | 9.0.0:beta4 | 9.0.0:beta5 | 9.0.0:beta6 | 9.0.0:beta7 | 9.0.0:beta8 | 9.0.0:beta9 | 9.0.1 | 9.0.2 | 9.0.3 | 9.0.4 | 9.0.5 | 9.0.6 | 9.1.0 | 9.1.1 | 9.1.2 | 9.2.0 | 9.2.1 | 9.3.0 | 10.0.0 | 10.0.0:beta1 | 10.0.0:beta10 | 10.0.0:beta11 | 10.0.0:beta12 | 10.0.0:beta13 | 10.0.0:beta14 | 10.0.0:beta15 | 10.0.0:beta16 | 10.0.0:beta17 | 10.0.0:beta18 | 10.0.0:beta19 | 10.0.0:beta2 | 10.0.0:beta20 | 10.0.0:beta21 | 10.0.0:beta22 | 10.0.0:beta23 | 10.0.0:beta24 | 10.0.0:beta25 | 10.0.0:beta3 | 10.0.0:beta4 | 10.0.0:beta5 | 10.0.0:beta6 | 10.0.0:beta7 | 10.0.0:beta8 | 10.0.0:beta9 | 10.0.1 | 10.1.0 | 10.1.1 | 11.0.0:beta0 | 11.0.0:beta1 | 11.0.0:beta2 | 11.0.0:beta3 | 11.0.0:beta4 | 11.0.0:beta5
Npm1 product
- 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
3 vendors · 3 products
References
2 links- github.com/electron/electron/security/advisories/GHSA-56pc-6jqp-xqj8X Refsource CONFIRMWEBThird Party Advisory