Loading...
Skip to main content

CVE-2026-102673 — Vulnerability in electron — CVE Details

HIGH

Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab

Published September 29, 2026Updated September 29, 2026Source: osv

Summary

### Impact Popups opened from a sandboxed iframe through a link (for example `target="_blank"` or a middle-click) did not inherit the iframe's HTML `sandbox` restrictions. Content that was meant to run sandboxed could open a popup with the embedding app's full origin, gaining access to that origin's cookies, storage, and same-origin scripting. Apps are only affected if they embed untrusted content in iframes sandboxed with `allow-scripts allow-popups`. Apps that do not embed untrusted content in sandboxed iframes are not affected. ### Workarounds Use `setWindowOpenHandler` on the parent `WebContents` to deny or constrain popups opened from sandboxed frames, or do not apply `allow-popups` to sandboxed iframes that render untrusted content. ### Fixed Versions * `43.0.0` * `42.5.2` * `41.10.4` ### For more information If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)

Advisory Timeline

  • First published September 29, 2026 (13 days ago).
  • Last revised September 29, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update electron to 43.0.0 or later
npm install electron@43.0.0
npm
Update electron to 42.5.2 or later
npm install electron@42.5.2
npm
Update electron to 41.10.4 or later
npm install electron@41.10.4

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: npm (1).

PackageEcosystemAffectedFixed In
electron
npm
All versions43.0.0
electron
npm
All versions42.5.2
electron
npm
All versions41.10.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-346
    Origin Validation ErrorMITRE
  • CWE-693
    Protection Mechanism FailureMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.2 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

Frequently Asked Questions

What is CVE-2026-102673?
Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.2/10).
How do I check if my project is affected by CVE-2026-102673?
CVE-2026-102673 affects electron. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-102673 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.2

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-hq2x-r82h-9wj4

Related CVEs

  • CVE-2026-54257
    CRITICAL

    Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow

  • CVE-2026-102676
    HIGH

    Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions

  • CVE-2026-102674
    HIGH

    Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions

  • CVE-2023-4863
    HIGH

    libwebp: OOB write in BuildHuffmanTable

  • CVE-2026-34780
    HIGH

    Electron: Context Isolation bypass via contextBridge VideoFrame transfer

  • CVE-2026-107375
    HIGH

    JHipster: SQL Injection in the Parameter of JHipster-Generated Reactive (WebFlux + R2DBC) Applicationssort

  • CVE-2026-107384
    HIGH

    MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies