{"schemaVersion":3,"id":"CVE-2022-29247","aliases":["GHSA-mq8j-3h7h-p8g7"],"status":"published","duplicateOf":null,"title":null,"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`.","dates":{"published":"2022-06-13T21:05:10.000Z","modified":"2025-04-23T18:16:29.296Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.2,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":2.2,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","exploitability":1.8,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01048,"percentile":0.63875,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.02100000000000001,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.01027},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01048,"percentile":0.63875}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01027,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01023,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01048,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01048,"percentile":0.63875}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere","description":"The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/668.html"}],"affected":[{"vendor":"electron","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 15.5.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 16.0.0-beta.1, < 16.2.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.0.0-beta.1, < 17.2.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 18.0.0-beta.1, ≤ 18.0.0-beta.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 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","eol":null,"hubHref":"/vendor/electron/electron"},{"vendor":"electronjs","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 15.5.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 16.0.1, < 16.2.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.0.1, < 17.2.0","noFixRecorded":false,"fixedIn":null},{"text":"16.0.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"16.0.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"16.0.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"16.0.0:beta4","noFixRecorded":false,"fixedIn":null},{"text":"16.0.0:beta5","noFixRecorded":false,"fixedIn":null},{"text":"16.0.0:beta6","noFixRecorded":false,"fixedIn":null},{"text":"16.0.0:beta7","noFixRecorded":false,"fixedIn":null},{"text":"16.0.0:beta8","noFixRecorded":false,"fixedIn":null},{"text":"16.0.0:beta9","noFixRecorded":false,"fixedIn":null},{"text":"17.0.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"17.0.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"17.0.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"17.0.0:beta4","noFixRecorded":false,"fixedIn":null},{"text":"17.0.0:beta5","noFixRecorded":false,"fixedIn":null},{"text":"17.0.0:beta6","noFixRecorded":false,"fixedIn":null},{"text":"17.0.0:beta7","noFixRecorded":false,"fixedIn":null},{"text":"17.0.0:beta8","noFixRecorded":false,"fixedIn":null},{"text":"17.0.0:beta9","noFixRecorded":false,"fixedIn":null},{"text":"18.0.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"18.0.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"18.0.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"18.0.0:beta4","noFixRecorded":false,"fixedIn":null},{"text":"18.0.0:beta5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 15.5.5 | ≥ 16.0.1, < 16.2.6 | ≥ 17.0.1, < 17.2.0 | 16.0.0:beta1 | 16.0.0:beta2 | 16.0.0:beta3 | 16.0.0:beta4 | 16.0.0:beta5 | 16.0.0:beta6 | 16.0.0:beta7 | 16.0.0:beta8 | 16.0.0:beta9 | 17.0.0:beta1 | 17.0.0:beta2 | 17.0.0:beta3 | 17.0.0:beta4 | 17.0.0:beta5 | 17.0.0:beta6 | 17.0.0:beta7 | 17.0.0:beta8 | 17.0.0:beta9 | 18.0.0:beta1 | 18.0.0:beta2 | 18.0.0:beta3 | 18.0.0:beta4 | 18.0.0:beta5","eol":{"isEol":true,"eolDate":"2022-05-24T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"16","label":"16","eolFrom":"2022-05-24T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"16.2.8"},"product":{"name":"electron","label":"Electron","category":"framework"}},"hubHref":"/vendor/electronjs/electron"},{"vendor":"Npm","product":"electron","name":"electron","label":"electron","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/electron","purlType":"npm","versions":[{"text":"< 15.5.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 16.0.0, < 16.2.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.0.0, < 17.2.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 18.0.0-beta.1, < 18.0.0-beta.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 15.5.5 | ≥ 16.0.0, < 16.2.6 | ≥ 17.0.0, < 17.2.0 | ≥ 18.0.0-beta.1, < 18.0.0-beta.6","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7","label":"github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29247","label":"nvd.nist.gov/vuln/detail/CVE-2022-29247","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/electron/electron","label":"github.com/electron/electron","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-06-13T21:05:10.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-23T18:16:29.296Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T14:57:56.934Z","stale":false,"partial":false}}