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-2018-21270 Vulnerability in npm package stringstream
CVE-2020-7637 Vulnerability in npm package class-transformer
CVE-2022-36918 Vulnerability in maven package org.jenkins-ci.plugins:buckminster
CVE-2022-45146 Vulnerability in maven package org.bouncycastle:bc-fips-debug
CVE-2012-0393 Vulnerability in maven package org.apache.struts:struts2-core