title: Context isolation bypass via Promise in Electron
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.
problem types: CWE-501 Trust Boundary Violation
affected:
{
product: electron
vendor: electron
versions:
status: affected, version: < 6.1.1
status: affected, version: >= 7.0.0, < 7.2.4
status: affected, version: >= 8.0.0, < 8.2.4
status: affected, version: >=9.0.0-beta.0, < 9.0.0-beta.21
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 6.8
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: HIGH
privilegesRequired: HIGH
scope: CHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N
version: 3.1
]