{"cve":"CVE-2022-29247","nvd":{"published":"2022-06-13T21:15:07.763","modified":"2026-06-17T04:39:54.807","status":"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`.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-668"],"references":["https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7","https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7"],"products":["electronjs:electron"],"source":"nvd","synced_at":"2026-10-19T21:32:39.174919249+00:00"},"epss":{"cve":"CVE-2022-29247","score":0.01048,"percentile":0.64234,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mq8j-3h7h-p8g7","url":"https://osv.dev/vulnerability/GHSA-mq8j-3h7h-p8g7","summary":"Compromised child renderer processes could obtain IPC access without nodeIntegrationInSubFrames being enabled","modified":"2023-11-08T04:09:12.104708Z","packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":["<15.5.5"],"fixed":["15.5.5"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=16.0.0 <16.2.6"],"fixed":["16.2.6"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=17.0.0 <17.2.0"],"fixed":["17.2.0"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=18.0.0-beta.1 <18.0.0-beta.6"],"fixed":["18.0.0-beta.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}