{"id":"CVE-2020-4076","published":"2020-07-07T00:05:21Z","modified":"2024-08-04T07:52:20Z","title":"Context isolation bypass via leaked cross-context objects in Electron","vendor":"electron","product":"electron","tier":"tail","description":{"text":"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 contextIsolation are affected. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00367,"percentile":0.31361,"provenance":"source"},"cwes":[{"id":"CWE-501","name":"Trust Boundary Violation"}],"references":[{"url":"https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/security/advisories/GHSA-m93v-9qjc-3g79","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":6.27},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"electron","affectedVersions":[{"vendor":"electron","product":"electron","versions":[">= 9.0.0-beta.0, <= 9.0.0-beta.20",">= 8.0.0, < 8.2.4","< 7.2.4"]}],"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":["<7.2.4",">=8.0.0, <8.2.4"],"patched":["7.2.4","8.2.4"],"from":["GHSA-m93v-9qjc-3g79"],"provenance":"source"}],"summary":{"text":"Electron's context isolation feature, in versions before 7.2.4, 8.2.4, and 9.0.0-beta21, can be bypassed through objects leaked across contexts in the renderer process. An attacker who can run code in the main world of a renderer can reach into the isolated Electron context and perform privileged actions, though this requires high attack complexity, no privileges, and no user interaction, and it affects only apps that use contextIsolation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:22Z"},"euvd":{"id":"EUVD-2020-0565","exploited":false,"provenance":"source"}}