CVE-2022-29257Electronjs Electron
High 7.2
Follow: this CVE · Electronjs · Electronjs Electron We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Electron.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| electronjs | electron | < 15.5.0 |
| electronjs | electron | ≥ 16.0.1 < 16.2.0 |
| electronjs | electron | ≥ 17.0.1 < 17.2.0 |
| electronjs | electron | 16.0.0 |
| electronjs | electron | 16.0.0 |
| electronjs | electron | 16.0.0 |
| electronjs | electron | 16.0.0 |
| electronjs | electron | 16.0.0 |
| electronjs | electron | 16.0.0 |
| electronjs | electron | 16.0.0 |
| electronjs | electron | 16.0.0 |
| electronjs | electron | 16.0.0 |
| electronjs | electron | 17.0.0 |
| electronjs | electron | 17.0.0 |
| electronjs | electron | 17.0.0 |
| electronjs | electron | 17.0.0 |
| electronjs | electron | 17.0.0 |
| electronjs | electron | 17.0.0 |
| electronjs | electron | 17.0.0 |
| electronjs | electron | 17.0.0 |
| electronjs | electron | 17.0.0 |
| electronjs | electron | 18.0.0 |
| electronjs | electron | 18.0.0 |
| electronjs | electron | 18.0.0 |
| electronjs | electron | 18.0.0 |
| electronjs | electron | 18.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory