title: Context isolation bypass in Electron
description: 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.
problem types: CWE-693 Protection Mechanism Failure
affected:
{
product: electron
vendor: electron
versions:
status: affected, version: >= 8.0.0-beta.0, < 8.5.2
status: affected, version: >= 9.0.0-beta.0, < 9.3.1
status: affected, version: >= 10.0.0-beta.0, < 10.1.2
status: affected, version: >= 11.0.0-beta.0, < 11.0.0-beta.6
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 5.6
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
version: 3.1
]