Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab (CVE-2026-102673)
Electron versions prior to 41.10.4, between 42.0.0-alpha.1 and 42.5.2, and between 43.0.0-alpha.1 and 43.0.0 allowed popups opened from sandboxed iframes with 'allow-scripts allow-popups' to drop sandbox restrictions. This enabled sandboxed content to open popups with the embedding app's full origin, potentially accessing cookies, storage, and same-origin scripting. The issue affects apps embedding untrusted content in sandboxed iframes with these permissions. Fixed versions are 41.10.4, 42.5.2, and 43.0.0.
AI Analysis
Technical Summary
CVE-2026-102673 is a vulnerability in Electron where popups opened from sandboxed iframes via links (e.g., target="_blank" or middle-click) did not inherit the iframe's HTML sandbox restrictions. This flaw allows content intended to be sandboxed to open popups with the full origin privileges of the embedding app, granting access to sensitive data such as cookies, storage, and same-origin scripting capabilities. The vulnerability specifically affects applications embedding untrusted content in iframes sandboxed with 'allow-scripts allow-popups'. The issue has been addressed in Electron versions 41.10.4, 42.5.2, and 43.0.0.
Potential Impact
Exploiting this vulnerability allows sandboxed iframe content to escape sandbox restrictions by opening popups with the full origin of the embedding application. This can lead to unauthorized access to cookies, local storage, and same-origin scripting, potentially compromising user data and application security. Only applications embedding untrusted content in sandboxed iframes with 'allow-scripts allow-popups' are affected.
Mitigation Recommendations
A fix is available in Electron versions 41.10.4, 42.5.2, and 43.0.0. Applications should upgrade to these or later versions to remediate the vulnerability. As a workaround, developers can use the 'setWindowOpenHandler' on the parent WebContents to deny or constrain popups opened from sandboxed frames, or avoid applying 'allow-popups' to sandboxed iframes that render untrusted content.
Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab (CVE-2026-102673)
Description
Electron versions prior to 41.10.4, between 42.0.0-alpha.1 and 42.5.2, and between 43.0.0-alpha.1 and 43.0.0 allowed popups opened from sandboxed iframes with 'allow-scripts allow-popups' to drop sandbox restrictions. This enabled sandboxed content to open popups with the embedding app's full origin, potentially accessing cookies, storage, and same-origin scripting. The issue affects apps embedding untrusted content in sandboxed iframes with these permissions. Fixed versions are 41.10.4, 42.5.2, and 43.0.0.
CVSS v3.1
Score 8.2high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-102673 is a vulnerability in Electron where popups opened from sandboxed iframes via links (e.g., target="_blank" or middle-click) did not inherit the iframe's HTML sandbox restrictions. This flaw allows content intended to be sandboxed to open popups with the full origin privileges of the embedding app, granting access to sensitive data such as cookies, storage, and same-origin scripting capabilities. The vulnerability specifically affects applications embedding untrusted content in iframes sandboxed with 'allow-scripts allow-popups'. The issue has been addressed in Electron versions 41.10.4, 42.5.2, and 43.0.0.
Potential Impact
Exploiting this vulnerability allows sandboxed iframe content to escape sandbox restrictions by opening popups with the full origin of the embedding application. This can lead to unauthorized access to cookies, local storage, and same-origin scripting, potentially compromising user data and application security. Only applications embedding untrusted content in sandboxed iframes with 'allow-scripts allow-popups' are affected.
Mitigation Recommendations
A fix is available in Electron versions 41.10.4, 42.5.2, and 43.0.0. Applications should upgrade to these or later versions to remediate the vulnerability. As a workaround, developers can use the 'setWindowOpenHandler' on the parent WebContents to deny or constrain popups opened from sandboxed frames, or avoid applying 'allow-popups' to sandboxed iframes that render untrusted content.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-hq2x-r82h-9wj4
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-102673"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6abc27cf680226ef6846f91c
Added to database: 09/29/2026, 21:04:15 UTC
Last enriched: 09/29/2026, 21:22:14 UTC
Last updated: 09/30/2026, 03:19:49 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.