Live threats

All CVEs / Electronjs

CVE-2022-29257Electronjs Electron

High 7.2

Priority
43
CVSS 3.1
7.2
EPSS
0.9%
probability of exploitation in 30 days · percentile 59
Auth required
Yes
Published
Jun 13, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

What happens

Electron is a framework for writing cross-platform desktop applications using JavaScript (JS), HTML, and CSS. A vulnerability in versions prior to 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 allows attackers who have control over a given apps update server / update storage to serve maliciously crafted update packages that pass the code signing validation check but contain malicious code in some components. This kind of attack would require significant privileges in a potential victim's own auto updating infrastructure and the ease of that attack entirely depends on the potential victim's infrastructure security. Electron versions 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 contain a fix for this issue. There are no known workarounds.

Original NVD text.

What to do

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

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm electron < 15.5.0 15.5.0 npm install electron@15.5.0
npm electron ≥ 16.0.0 < 16.2.0 16.2.0 npm install electron@16.2.0
npm electron ≥ 17.0.0 < 17.2.0 17.2.0 npm install electron@17.2.0
npm electron ≥ 18.0.0-beta.1 < 18.0.0-beta.6 18.0.0-beta.6 npm install electron@18.0.0-beta.6

Per OSV / GitHub Advisories (GHSA-77xc-hjv8-ww97). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
electronjselectron< 15.5.0
electronjselectron≥ 16.0.1 < 16.2.0
electronjselectron≥ 17.0.1 < 17.2.0
electronjselectron16.0.0
electronjselectron16.0.0
electronjselectron16.0.0
electronjselectron16.0.0
electronjselectron16.0.0
electronjselectron16.0.0
electronjselectron16.0.0
electronjselectron16.0.0
electronjselectron16.0.0
electronjselectron17.0.0
electronjselectron17.0.0
electronjselectron17.0.0
electronjselectron17.0.0
electronjselectron17.0.0
electronjselectron17.0.0
electronjselectron17.0.0
electronjselectron17.0.0
electronjselectron17.0.0
electronjselectron18.0.0
electronjselectron18.0.0
electronjselectron18.0.0
electronjselectron18.0.0
electronjselectron18.0.0

Official sources

References

Links published by the sources. Open them with care.