CVE-2026-70608
Description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 41.10.3, and 42.0.1, a sandboxed iframe without the allow-popups keyword could still open a new window or trigger setWindowOpenHandler with no user interaction because new-window navigations taking the OpenURL path did not apply the iframe sandbox popup restriction. Apps that embed untrusted content in sandboxed iframes and rely on the absence of allow-popups to prevent window creation are affected, while apps that deny window creation in setWindowOpenHandler or do not embed untrusted content in sandboxed iframes are not affected. This issue is fixed in 39.8.10, 41.10.3, and 42.0.1.
Description as published by the source, in English.
Key facts
- Published
- 2026-08-05
- Last modified
- 2026-10-08
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N- Scored by
- security-advisories@github.com
- Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Electronjs | Electron | < 39.8.8 | Affected |
| Electronjs | Electron | ≥ 40.0.0, < 41.10.3 | Affected |
| Electronjs | Electron | ≥ 42.0.0, < 42.0.1 | Affected |
Weakness type
-
CWE-1021: Improper Restriction of Rendered UI Layers or Frames
The web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain.
-
CWE-693: Protection Mechanism Failure
The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1036.004: Masquerade Task or Service
- T1040: Network Sniffing
- T1056: Input Capture
- T1083: File and Directory Discovery
- T1548.004: Elevated Execution with Prompt
- T1565.002: Transmitted Data Manipulation
- T1574.005: Executable Installer File Permissions Weakness
- T1574.010: Services File Permissions Weakness
- T1611: Escape to Host
References
- https://github.com/electron/electron/commit/3ff23c52ab364a0afc6ab5bd7851291d3159de57
- https://github.com/electron/electron/commit/57cbe329c4ae8aab5ac5ebdcb588adc9a11de0d3
- https://github.com/electron/electron/commit/68cf8b7d9122260f6b534a69a82c701a56cf159f
- https://github.com/electron/electron/pull/51437
- https://github.com/electron/electron/pull/51438
- https://github.com/electron/electron/pull/51439
- https://github.com/electron/electron/releases/tag/v39.8.10
- https://github.com/electron/electron/releases/tag/v41.10.3
- https://github.com/electron/electron/releases/tag/v42.0.1
- https://github.com/electron/electron/security/advisories/GHSA-9f4c-93c8-jc8g
Related at Berigo
Articles
-
A traveller gave a duress password at the border and was charged
Same product
2026-08-19
A United States citizen is charged with wiping the contents of his phone during a border search in January 2025. He pleaded not guilty, and the case …
-
A dealer-installed car alarm lets strangers unlock the car
Same product
2026-08-18
Researchers at UC San Diego found that the key to the KARR car alarm is hardcoded and identical across every module. Almost half of the affected owne…
-
Contractor jailed for two years after trying to extort the company that hired him
Same product
2026-08-14
A former contract data analyst has been sentenced to two years in prison for attempting to extort 2.5 million dollars in cryptocurrency from an inter…
-
Showboat: new Linux malware targeting telecom providers
Same product
2026-05-21
Lumen has uncovered a new Linux-based malware family used in targeted attacks against international telecom providers.
Services
-
NIS2 for the Board
NIS2 has not yet been implemented in Norwegian law. Berigo helps the board establish which requirements the organisation is subject to, and supports …
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.