cve.bz

CVE-2026-70612

5.4 mediumEPSS 0.4%

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.

CVSS 3.1
5.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
EPSS
0.4% chance of exploitation in the next 30 days; higher than 36% of CVEs (scores of 2026-10-25)
CWE
CWE-284
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p2rr-rvmm-c5fpnpmelectron<39.8.839.8.8
GHSA-p2rr-rvmm-c5fpnpmelectron>=40.0.0-alpha.1 <40.9.040.9.0
GHSA-p2rr-rvmm-c5fpnpmelectron>=41.0.0-alpha.1 <41.2.141.2.1
GHSA-p2rr-rvmm-c5fpnpmelectron>=42.0.0-alpha.1 <42.0.0-beta.342.0.0-beta.3

References

Check your stackJSON