CVE-2026-70612: Electronjs Electron

Medium severity, CVSS 5.4. EPSS: 0.4% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Electronjs Electron, before 39.8.8: fixed in 39.8.8
  • Electronjs Electron, from 40.0.0, before 40.9.0: fixed in 40.9.0

Affected products

  • Electronjs Electron: before 39.8.8 (fixed in 39.8.8); from 40.0.0, before 40.9.0 (fixed in 40.9.0); from 41.0.0, up to and including 41.2.1; version 42.0.0 only

Affected packages

Published 2026-08-05. Last modified 2026-10-08.