Description
In Electron before versions 6.1.1, 7.2.4, 8.2.4, and 9.0.0-beta21, there 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. Apps using "contextIsolation" are affected. There are no app-side workarounds, you must update your Electron version to be protected. This is fixed in versions 6.1.1, 7.2.4, 8.2.4, and 9.0.0-beta21.
Remediation
References
https://github.com/electron/electron/security/advisories/GHSA-6vrv-94jv-crrg
https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824
Related Vulnerabilities
CVE-2020-27216 Vulnerability in maven package org.eclipse.jetty:jetty-webapp
CVE-2021-20293 Vulnerability in maven package org.jboss.resteasy:resteasy-core
CVE-2015-0254 Vulnerability in maven package javax.servlet:jstl
CVE-2019-10364 Vulnerability in maven package org.jenkins-ci.plugins:ec2
CVE-2021-31412 Vulnerability in maven package com.vaadin:flow-server