Live threats

All CVEs / Electronjs

CVE-2020-4077Electronjs Electron

Critical 9.9

Priority
60
CVSS 3.1
9.9
EPSS
1.0%
probability of exploitation in 30 days · percentile 64
Auth required
Yes
Published
Jul 7, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-501
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Electron.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm electron < 7.2.4 7.2.4 npm install electron@7.2.4
npm electron ≥ 8.0.0 < 8.2.4 8.2.4 npm install electron@8.2.4

Per OSV / GitHub Advisories (GHSA-h9jc-284h-533g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
electronjselectron≥ 7.0.0 < 7.2.4
electronjselectron≥ 8.0.0 < 8.2.4
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0
electronjselectron9.0.0

Official sources

References

Links published by the sources. Open them with care.