Description
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 both `contextIsolation` and `contextBridge` are affected. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.
Remediation
References
https://github.com/electron/electron/security/advisories/GHSA-h9jc-284h-533g
https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824
Related Vulnerabilities
CVE-2017-18355 Vulnerability in npm package rendertron-middleware
CVE-2018-19057 Vulnerability in maven package org.webjars.npm:simplemde
CVE-2021-37404 Vulnerability in maven package org.apache.hadoop:hadoop-hdfs-native-client
CVE-2021-40865 Vulnerability in maven package org.apache.storm:storm-server
CVE-2022-29172 Vulnerability in maven package org.webjars.bower:auth0-lock