{"id":"GHSA-hvf8-h2qh-37m9","summary":"IPC messages delivered to the wrong frame in Electron","details":"### Impact\nIPC messages sent from the main process to a subframe in the renderer process, through `webContents.sendToFrame`, `event.reply` or when using the `remote` module, can in some cases be delivered to the wrong frame.\n\nIf your app does ANY of the following, then it is impacted by this issue:\n- Uses `remote`\n- Calls `webContents.sendToFrame`\n- Calls `event.reply` in an IPC message handler\n\n### Patches\nThis has been fixed in the following versions:\n\n- 9.4.0\n- 10.2.0\n- 11.1.0\n- 12.0.0-beta.9\n\n### Workarounds\nThere are no workarounds for this issue.\n\n### For more information\nIf you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org).","aliases":["CVE-2020-26272"],"modified":"2026-05-07T05:01:23.923586245Z","published":"2021-01-28T19:11:34Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-01-28T19:11:05Z","nvd_published_at":"2021-01-28T19:15:00Z","cwe_ids":["CWE-668"]},"references":[{"type":"WEB","url":"https://github.com/electron/electron/security/advisories/GHSA-hvf8-h2qh-37m9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26272"},{"type":"WEB","url":"https://github.com/electron/electron/pull/26875"},{"type":"WEB","url":"https://github.com/electron/electron/commit/07a1c2a3e5845901f7e2eda9506695be58edc73c"},{"type":"WEB","url":"https://github.com/electron/electron/commit/0bbd268eb4caf35604443df5ff196980dd49e208"},{"type":"WEB","url":"https://github.com/electron/electron/commit/36c695ce2a7e22c07fe1e30c61c00d20371daee2"},{"type":"WEB","url":"https://github.com/electron/electron/commit/429400040ecb16a21d19936658579e65a797e4cc"},{"type":"WEB","url":"https://github.com/electron/electron/commit/5c8e7e8b7f485ceafa8b271086d7b87e1de9dedd"},{"type":"WEB","url":"https://github.com/electron/electron/releases/tag/v9.4.0"},{"type":"WEB","url":"https://www.electronjs.org/releases/stable?version=9#9.4.0"}],"affected":[{"package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"9.4.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/01/GHSA-hvf8-h2qh-37m9/GHSA-hvf8-h2qh-37m9.json"}},{"package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"ranges":[{"type":"SEMVER","events":[{"introduced":"10.0.0"},{"fixed":"10.2.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/01/GHSA-hvf8-h2qh-37m9/GHSA-hvf8-h2qh-37m9.json"}},{"package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"ranges":[{"type":"SEMVER","events":[{"introduced":"11.0.0"},{"fixed":"11.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/01/GHSA-hvf8-h2qh-37m9/GHSA-hvf8-h2qh-37m9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"}]}