CVE-2026-102674
CVE-2026-102674 · Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 41.10.6, 42.9.2, 43.4.1, and 44.0.0-beta.5, windows opened from a sandboxed top-level document did not inherit that document's active HTML sandbox restrictions. Untrusted content in a sandboxed top-level document that was permitted to open popups could therefore create a window with the Electron application's full origin instead of the restricted origin intended by the sandbox. Applications that deny such popups with setWindowOpenHandler are not affected. This issue is fixed in versions 41.10.6, 42.9.2, 43.4.1, and 44.0.0-beta.5.
CVSS 8.2 · High · EPSS 0.2% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
electron
- Versions
- < 41.10.6: Affected
- >= 42.0.0-alpha.1, < 42.9.2: Affected
- >= 43.0.0-alpha.1, < 43.4.1: Affected
- >= 44.0.0-alpha.1, < 44.0.0-beta.5: Affected
No fix published
electron npm
- Affected ranges
- SEMVER: < 41.10.6
Update to 41.10.6
electron npm
- Affected ranges
- SEMVER: ≥ 42.0.0-alpha.1, < 42.9.2
Update to 42.9.2
electron npm
- Affected ranges
- SEMVER: ≥ 43.0.0-alpha.1, < 43.4.1
Update to 43.4.1
electron npm
- Affected ranges
- SEMVER: ≥ 44.0.0-alpha.1, < 44.0.0-beta.5
Update to 44.0.0-beta.5
Original sources
- https://github.com/electron/electron/security/advisories/GHSA-gr2m-v5gq-v685
- https://github.com/electron/electron/commit/29fc130569f970e91e355383821a4af0f25724a2
- https://github.com/electron/electron/commit/3ecf3e74f4be6e2360644679b0b4698742be0e1d
- https://github.com/electron/electron/commit/6594d5a5b074cf501da084dc7908d3df0d68a886
- https://github.com/electron/electron/commit/e9c4d3cbe912e18d7c63af78e63e98ae7a48cd3a
- https://github.com/electron/electron/releases/tag/v41.10.6
- https://github.com/electron/electron/releases/tag/v42.9.2
- https://github.com/electron/electron/releases/tag/v43.4.1
- https://github.com/electron/electron/releases/tag/v44.0.0-beta.5
- https://nvd.nist.gov/vuln/detail/CVE-2026-102674