GitHub Advisoryadvisory · npm
GHSA-m55f-7gqj-fr98 Electron: Extension tab APIs operate across session boundaries
MEDIUM
Official page ↗
- Aliases
- CVE-2026-70602
- Ecosystem
- npm
- Packages
- electron
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N
- Weaknesses
- CWE-284
- Reviewed
- 2026-08-05
Affected packages
• npm electron: < 39.8.8 → fixed in 39.8.8
• npm electron: >= 40.0.0-alpha.1, < 40.9.0 → fixed in 40.9.0
• npm electron: >= 41.0.0-alpha.1, < 41.2.1 → fixed in 41.2.1
• npm electron: >= 42.0.0-alpha.1, < 42.0.0-beta.3 → fixed in 42.0.0-beta.3
Description
Impact
Extension tab and scripting APIs were not scoped to the extension's own `session`. A malicious or compromised extension loaded into one session could navigate, script, and read from windows belonging to a different session.
Apps are only affected if they load Chrome extensions via `session.loadExtension` and rely on separate sessions to isolate that extension from other content. Apps that do not load extensions, or that use a single session, are not affected.
Workarounds
Only load extensions from sources you trust; do not rely on session separation alone to contain an extension.
Fixed Versions
• `42.0.0-beta.3`
• `41.2.1`
• `40.9.0`
• `39.8.8`
For more information
If you have any questions or comments about this advisory, email Electron at [email protected]
Related
Alias · CVE (1)
- CVE-2026-70602 Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. vulnerability
Weakness · CWE (1)
- CWE-284 Improper Access Control weakness