CVE-2026-70612

Electron: Sandboxed iframes can launch external protocol handlers

MEDIUM
5.4
CVSS Score
Published: August 5, 2026 at 05:56 PM UTC
Updated: October 8, 2026 at 01:49 PM UTC
2 products affected across 2 vendorsElectronElectron

Using electron by electron?

Get instant alerts when new vulnerabilities affect electron - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.4
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, requests to open external protocol URLs from web content did not take iframe sandbox restrictions into account, so a sandboxed iframe could cause an OS-registered external application to be launched. The frame sandbox state was also not made available to the app permission handlers, affecting apps that render untrusted content in sandboxed iframes and grant the openExternal permission by default when no setPermissionRequestHandler is installed. This issue is fixed in 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Affected range stops below 39.8.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 40.9.0, so it looks safe — our inference, not a vendor statement
v < 39.8.8>= 40.0.0-alpha.1, < 40.9.0>= 41.0.0-alpha.1, < 41.2.1>= 42.0.0-alpha.1, < 42.0.0-beta.3
Affected range stops below 39.8.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 40.9.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 41.2.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 42.0.0-beta.3, so it looks safe — our inference, not a vendor statement

References (13)

x_refsource_CONFIRMVendor AdvisoryMitigation
Source: cverecord
https://github.com/electron/electron/security/advisories/GHSA-p2rr-rvmm-c5fp
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/electron/electron/pull/50961
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/electron/electron/pull/50962
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/electron/electron/pull/50963
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/electron/electron/pull/50964

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.4MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-284

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card