CVE-2022-29247
Exposure of Resource to Wrong Sphere in Electron
Also known as GHSA-mq8j-3h7h-p8g7
Mitigation
- Upgrade electron to one of 15.5.5, 16.2.6, 17.2.0, 18.0.0-beta.6 (or later in the same release line).
Who should check
- Projects that depend on npm package electron (< 15.5.5)
- Anyone running electron < 15.5.5; >= 16.0.0-beta.1, < 16.2.6; >= 17.0.0-beta.1, < 17.2.0; >= 18.0.0-beta.1, <= 18.0.0-beta.5
Vulnerability facts
- Affected
- electron < 15.5.5
- Fixed in
- 15.5.5, 16.2.6, 17.2.0, 18.0.0-beta.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 2.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.20% chance of exploitation in 30 days (percentile 68, 2026-11-26)
- CWE
- CWE-668
- Modified
Description
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 a renderer with JS execution to obtain access to a new renderer process with `nodeIntegrationInSubFrames` enabled which in turn allows effective access to `ipcRenderer`. The `nodeIntegrationInSubFrames` option does not implicitly grant Node.js access. Rather, it depends on the existing sandbox setting. If an application is sandboxed, then `nodeIntegrationInSubFrames` just gives access to the sandboxed renderer APIs, which include `ipcRenderer`. If the application then additionally exposes IPC messages without IPC `senderFrame` validation that perform privileged actions or return confidential data this access to `ipcRenderer` can in turn compromise your application / user even with the sandbox enabled. Electron versions 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 contain a fix for this issue. As a workaround, ensure that all IPC message handlers appropriately validate `senderFrame`.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-29247. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-29247.md Affected: electron < 15.5.5 Fixed in: 15.5.5, 16.2.6, 17.2.0, 18.0.0-beta.6 Steps: 1. Search this machine and project for electron (npm), electron: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2022-29247 being exploited?
There is no confirmed exploitation: CVE-2022-29247 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.20% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-29247?
Low: CVSS 2.2 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2022-29247?
electron < 15.5.5.
Is there a fix for CVE-2022-29247?
Yes. Fixed in 15.5.5, 16.2.6, 17.2.0, 18.0.0-beta.6. Upgrade electron to one of 15.5.5, 16.2.6, 17.2.0, 18.0.0-beta.6 (or later in the same release line).
How do I check if I'm affected by CVE-2022-29247?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.