CVE-2022-29257: Electronjs Electron
High severity, CVSS 7.2. EPSS: 0.9% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Electronjs Electron, before 15.5.0: fixed in 15.5.0
- Electronjs Electron, from 16.0.1, before 16.2.0: fixed in 16.2.0
- Electronjs Electron, from 17.0.1, before 17.2.0: fixed in 17.2.0
Affected products
- Electronjs Electron: before 15.5.0 (fixed in 15.5.0); from 16.0.1, before 16.2.0 (fixed in 16.2.0); from 17.0.1, before 17.2.0 (fixed in 17.2.0); version 16.0.0 only; version 17.0.0 only; version 18.0.0 only
Affected packages
- electron (npm)
Published 2022-06-13. Last modified 2026-06-17.