{"id":"CVE-2020-15215","published":"2020-10-06T18:00:17Z","modified":"2024-08-04T13:08:22Z","title":"Context isolation bypass in Electron","vendor":"electron","product":"electron","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00683,"percentile":0.53453,"provenance":"source"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"},{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-56pc-6jqp-xqj8","tags":["x_refsource_CONFIRM"]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":10.69},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.92}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-05-13","earliestUrl":"https://github.com/NishantIyer/CVE-2020-15215-Discord-POC","repos":[{"name":"NishantIyer/CVE-2020-15215-Discord-POC","url":"https://github.com/NishantIyer/CVE-2020-15215-Discord-POC","stars":16,"created":"2022-05-13"}]},"first":{"date":"2022-05-13","source":"PoC-in-GitHub","url":"https://github.com/NishantIyer/CVE-2020-15215-Discord-POC"},"provenance":"source"},"vendorSlug":"electron","affectedVersions":[{"vendor":"electron","product":"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",">= 11.0.0-beta.0, < 11.0.0-beta.6"]}],"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":[">=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"],"patched":["8.5.2","9.3.1","10.1.2","11.0.0-beta.6"],"from":["GHSA-56pc-6jqp-xqj8"],"provenance":"source"}],"summary":{"text":"The flaw is a context isolation bypass in Electron, the electron product, affecting versions before 11.0.0-beta.6, 10.1.2, 9.3.1 and 8.5.2. It lets code running in the main world context of the renderer reach into the isolated Electron context and perform privileged actions. Exploitation requires an app that enables both contextIsolation and either sandbox: true or nodeIntegrationInSubFrames: true, and it needs network access, no authentication, and no user interaction, though the attack complexity is high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:47Z"},"euvd":{"id":"EUVD-2020-1409","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-4076","published":"2020-07-07","fixed":"8.2.4","kev":false},{"cve":"CVE-2020-4077","published":"2020-07-07","fixed":"8.2.4","kev":false},{"cve":"CVE-2020-15174","published":"2020-10-06","fixed":"10.0.1","kev":false,"link":{"from":"CVE-2020-15174","to":"CVE-2020-15215","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"9.3.0","toFixed":"9.3.1","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"10.0.1","toFixed":"10.1.2","daysApart":0}]}},{"cve":"CVE-2020-15215","published":"2020-10-06","fixed":"11.0.0-beta.6","kev":false},{"cve":"CVE-2020-26272","published":"2021-01-28","fixed":"11.1.0","kev":false,"link":{"from":"CVE-2020-15215","to":"CVE-2020-26272","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"9.3.1","toFixed":"9.4.0","daysApart":114},{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"10.1.2","toFixed":"10.2.0","daysApart":114}]}},{"cve":"CVE-2021-39184","published":"2021-10-12","fixed":"13.3.0","kev":false},{"cve":"CVE-2022-21718","published":"2022-03-22","fixed":"17.0.0-alpha.6","kev":false}],"package":"npm:electron"}}