electron
45.3.4 · 17 Nov 2026MIT12.9M / weekRepositoryHomepagenpmAtom feed
39.8.10 is the newest release of 39.x.
In short
1 new12 fixed3 changed
Security
Fixes 8 advisories that affected 39.8.0
- HighElectron: Use-after-free in offscreen child window paint callbackGHSA-532v-xpq5-8h95 · 3 Apr 2026Fixed in 39.8.1
- HighElectron: Use-after-free in PowerMonitor on Windows and macOSGHSA-jjp3-mq3x-295m · 3 Apr 2026Fixed in 39.8.1
- ModerateElectron: AppleScript injection in app.moveToApplicationsFolder on macOSGHSA-5rqw-r77c-jp79 · 3 Apr 2026Fixed in 39.8.1
- ModerateElectron: Service worker can spoof executeJavaScript IPC repliesGHSA-xj5x-m3f3-5x3h · 3 Apr 2026Fixed in 39.8.1
- ModerateElectron: Incorrect origin passed to permission request handler for iframe requestsGHSA-r5p7-gp4j-qhrx · 3 Apr 2026Fixed in 39.8.1
- ModerateElectron: Out-of-bounds read in second-instance IPC on macOS and LinuxGHSA-3c8v-cfp5-9885 · 3 Apr 2026Fixed in 39.8.1
- ModerateElectron: Registry key path injection in app.setAsDefaultProtocolClient on WindowsGHSA-mwmh-mq4g-g6gr · 3 Apr 2026Fixed in 39.8.1
- LowElectron: Unquoted executable path in app.setLoginItemSettings on WindowsGHSA-jfqx-fxh3-c62j · 3 Apr 2026Fixed in 39.8.1
33 advisories affect 39.8.1; 42.11.16 fixes them
- HighElectron: Mitigation for compromised eMudhra intermediate certificatesGHSA-jr5w-w6x2-84p9 · 23 Oct 2026Fixed in 42.11.16
- HighElectron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTabGHSA-hq2x-r82h-9wj4 · 29 Sep 2026Fixed in 41.10.4
- HighElectron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictionsGHSA-gr2m-v5gq-v685 · 29 Sep 2026Fixed in 41.10.6
- HighElectron: File and HTTP protocol handlers allow cross-origin reads without corsEnabledGHSA-j84w-jfhq-vhvj · 29 Sep 2026Fixed in 41.10.6
- HighElectron: <webview> can enable Node.js integration in Web Workers despite embedder restrictionsGHSA-9qh4-3jw8-366w · 29 Sep 2026Fixed in 41.10.6
28 more
- HighElectron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation pathGHSA-9f4c-93c8-jc8g · 5 Aug 2026Fixed in 39.8.10
- HighElectron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin readsGHSA-v3j7-r9gq-3gjw · 5 Aug 2026Fixed in 39.8.10
- HighElectron: Context isolation bypass via Function.prototype.bind hijackGHSA-h7rp-cf8h-j98x · 5 Aug 2026Fixed in 39.8.9
- ModerateElectron: SameSite cookie restrictions are not applied to windows opened from linksGHSA-2p8c-gr87-2676 · 22 Oct 2026Fixed in 42.11.3
- ModerateElectron: Pointer lock permission requests can be attributed to the wrong frameGHSA-x562-297c-g43g · 22 Oct 2026Fixed in 42.11.9
- ModerateElectron: openExternal permission requests can be attributed to the wrong originGHSA-997q-gvvc-jwmx · 22 Oct 2026Fixed in 42.11.3
- ModerateElectron: HID and USB permission checks can be attributed to the wrong originGHSA-fw47-9c62-h3vw · 21 Oct 2026Fixed in 42.11.3
- ModerateElectron: Local race condition in Squirrel.Mac update installation on macOSGHSA-vv43-5jgx-7qv8 · 29 Sep 2026Fixed in 39.8.10
- ModerateElectron: Sandboxed iframes can launch external protocol handlersGHSA-p2rr-rvmm-c5fp · 5 Aug 2026Fixed in 39.8.8
- ModerateElectron: DevTools embedder handler executes arbitrary files via shell openGHSA-f2r8-jv7c-xqmp · 5 Aug 2026Fixed in 39.8.9
- ModerateElectron: contextBridge object copy honors prototype settersGHSA-ff2p-hmqr-hxm4 · 5 Aug 2026Fixed in 39.8.9
- ModerateElectron: DevTools JavaScript Injection via Unsanitized Dock State ParameterGHSA-4f78-qhmw-8j8m · 5 Aug 2026Fixed in 39.8.7
- ModerateElectron: window.open features string controls some window options considered privilegedGHSA-v93f-fgjr-hjrj · 5 Aug 2026Fixed in 39.8.8
- ModerateElectron: HTTP redirect followed into local file loaderGHSA-v64r-4m7r-3mvq · 5 Aug 2026Fixed in 39.8.8
- ModerateElectron: Extension tab APIs operate across session boundariesGHSA-m55f-7gqj-fr98 · 5 Aug 2026Fixed in 39.8.8
- ModerateElectron: shell.openPath path validation bypass via embedded null byteGHSA-5c9j-mhmv-5xgx · 5 Aug 2026Fixed in 39.8.6
- ModerateElectron: Permission Check Handler Receives Main Frame Origin Instead of Requesting Iframe OriginGHSA-9pf5-hg6p-4pwp · 5 Aug 2026Fixed in 39.8.7
- ModerateElectron: Parent process code-sign check is spoofableGHSA-jm7p-cc5g-qwxx · 5 Aug 2026Fixed in 39.8.8
- ModerateElectron: Named window.open targets not scoped to the opener's browsing contextGHSA-f3pv-wv63-48x8 · 7 Apr 2026Fixed in 39.8.5
- ModerateElectron: nodeIntegrationInWorker not correctly scoped in shared renderer processesGHSA-xwr5-m59h-vwqr · 3 Apr 2026Fixed in 39.8.4
- ModerateElectron: HTTP Response Header Injection in custom protocol handlers and webRequestGHSA-4p4r-m79c-wq3v · 3 Apr 2026Fixed in 39.8.3
- LowElectron: Extension tabs.query returns tab URLs and titles without the tabs permissionGHSA-98mx-cjp9-gchm · 22 Oct 2026Fixed in 42.11.1
- LowElectron: Frame subscription trusts GPU-supplied frame geometryGHSA-3qxv-5xgr-q7w9 · 22 Oct 2026Fixed in 42.11.6
- LowElectron: Off-screen rendering on macOS trusts GPU-supplied frame geometryGHSA-h3v5-h239-pg29 · 22 Oct 2026Fixed in 42.11.6
- LowElectron: Cross-origin iframe can position native autofill popupGHSA-x8rc-wpg4-grpf · 5 Aug 2026Fixed in 39.8.8
- LowElectron: Off-screen rendering trusts GPU-supplied geometry over shared-memory sizeGHSA-pfmc-3mgc-p6fp · 5 Aug 2026Fixed in 39.8.10
- LowElectron: Crash in clipboard.readImage() on malformed clipboard image dataGHSA-f37v-82c4-4x64 · 7 Apr 2026Fixed in 39.8.5
- LowElectron: Use-after-free in offscreen shared texture release() callbackGHSA-8x5q-pvf5-64mp · 3 Apr 2026Fixed in 39.8.5
Release note
Release Notes for v39.8.1
Fixes
Added validation to protocol client methods to reject protocol names that do not conform to the RFC 3986 URI scheme grammar. #50156 (Also in 38, 40, 41)
Fixed an issue on macOS where calling
autoUpdater.quitAndInstall()could fail ifcheckForUpdates()was called again after an update was already downloaded. #50215 (Also in 40, 41)Fixed an issue where Chrome Devtools menus may not appear in certain embedded windows. #50136 (Also in 40, 41)
Fixed an issue where
additionalDatapassed toapp.requestSingleInstanceLockon Windows could be truncated or fail to deserialize in the primary instance'ssecond-instanceevent. #50174 (Also in 38, 40, 41)Fixed an issue where
screen.getCursorScreenPoint()crashed on Wayland when it was called before aBrowserWindowhad been created. #50106 (Also in 40, 41)Fixed an issue where calling
setBoundson aWebContentsViewcould trigger redundantpage-favicon-updatedevents even when the favicon had not changed. #50086 (Also in 40, 41)Fixed an issue where invalid characters in custom protocol or webRequest response header values were not rejected. #50129 (Also in 38, 40, 41)
Fixed an issue where permission and device-chooser handlers received the top-level page origin instead of the requesting subframe's origin. #50147 (Also in 38, 40, 41)
Fixed an issue where traffic light buttons would flash at position (0,0) when restoring a window with a custom
trafficLightPositionfrom minimization on macOS. #50208 (Also in 40, 41)Fixed bug where opening a message box immediately upon closing a child window may cause the parent window to freeze on Windows. #50190 (Also in 40, 41)
Fixed menu bar hiding after a call to
win.setFullScreen(false)when not in fullscreen on Linux. #49995 (Also in 40, 41)Fixed shutdown crash on windows when hidden titlebar is enabled. #50054 (Also in 40, 41)
Reverted AltGr key fix that caused menu bar to no longer show on Windows. #50109 (Also in 40, 41)
Other Changes
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.