Vulnerability · Published Sep 29, 2026 · Assigned by GitHub_M
CVE-2026-102674Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions
High 8.2
In plain English
A high-severity security flaw in electron from electron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | electron | 41.10.6 | GHSA-gr2m-v5gq-v685 |
| npm | electron | 42.9.2 | GHSA-gr2m-v5gq-v685 |
| npm | electron | 43.4.1 | GHSA-gr2m-v5gq-v685 |
| npm | electron | 44.0.0-beta.5 | GHSA-gr2m-v5gq-v685 |
Affected products (as reported)
Weakness: CWE-266, CWE-693 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/electron/electron/security/advisories/GHSA-gr2m-v5gq-v685 x_refsource_CONFIRM
- https://github.com/electron/electron/commit/29fc130569f970e91e355383821a4af0f25724a2 x_refsource_MISC
- https://github.com/electron/electron/commit/3ecf3e74f4be6e2360644679b0b4698742be0e1d x_refsource_MISC
- https://github.com/electron/electron/commit/6594d5a5b074cf501da084dc7908d3df0d68a886 x_refsource_MISC
- https://github.com/electron/electron/commit/e9c4d3cbe912e18d7c63af78e63e98ae7a48cd3a x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v41.10.6 x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v42.9.2 x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v43.4.1 x_refsource_MISC
- https://github.com/electron/electron/releases/tag/v44.0.0-beta.5 x_refsource_MISC