electron
45.3.4 · 17 Nov 2026MIT12.9M / weekRepositoryHomepagenpmAtom feed
40.10.6 is the newest release of 40.x.
In short
1 new9 fixed2 changed
Security
Fixes 6 advisories that affected 40.6.1
- HighElectron: Context Isolation bypass via contextBridge VideoFrame transferGHSA-jfqg-hf23-qpw2 · 3 Apr 2026Fixed in 40.7.0
- HighElectron: Use-after-free in offscreen child window paint callbackGHSA-532v-xpq5-8h95 · 3 Apr 2026Fixed in 40.7.0
- HighElectron: Use-after-free in WebContents fullscreen, pointer-lock, and keyboard-lock permission callbacksGHSA-8337-3p73-46f4 · 3 Apr 2026Fixed in 40.7.0
- HighElectron: Renderer command-line switch injection via undocumented commandLineSwitches webPreferenceGHSA-9wfr-w7mm-pc7f · 3 Apr 2026Fixed in 40.7.0
- ModerateElectron: Use-after-free in download save dialog callbackGHSA-9w97-2464-8783 · 3 Apr 2026Fixed in 40.7.0
- LowElectron: USB device selection not validated against filtered device listGHSA-9899-m83m-qhpj · 3 Apr 2026Fixed in 40.7.0
41 advisories affect 40.7.0; 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
36 more
- HighElectron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation pathGHSA-9f4c-93c8-jc8g · 5 Aug 2026Fixed in 41.10.3
- HighElectron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin readsGHSA-v3j7-r9gq-3gjw · 5 Aug 2026Fixed in 40.9.3
- HighElectron: Context isolation bypass via Function.prototype.bind hijackGHSA-h7rp-cf8h-j98x · 5 Aug 2026Fixed in 40.9.2
- HighElectron: Use-after-free in PowerMonitor on Windows and macOSGHSA-jjp3-mq3x-295m · 3 Apr 2026Fixed in 40.8.0
- 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 41.10.5
- ModerateElectron: Sandboxed iframes can launch external protocol handlersGHSA-p2rr-rvmm-c5fp · 5 Aug 2026Fixed in 40.9.1
- ModerateElectron: DevTools embedder handler executes arbitrary files via shell openGHSA-f2r8-jv7c-xqmp · 5 Aug 2026Fixed in 40.9.2
- ModerateElectron: contextBridge object copy honors prototype settersGHSA-ff2p-hmqr-hxm4 · 5 Aug 2026Fixed in 40.9.2
- ModerateElectron: DevTools JavaScript Injection via Unsanitized Dock State ParameterGHSA-4f78-qhmw-8j8m · 5 Aug 2026Fixed in 40.9.1
- ModerateElectron: window.open features string controls some window options considered privilegedGHSA-v93f-fgjr-hjrj · 5 Aug 2026Fixed in 40.9.1
- ModerateElectron: ProtocolResponse.url reuses the default session cache instead of the registering sessionGHSA-r4w5-6pfg-jxp5 · 5 Aug 2026Fixed in 40.10.6
- ModerateElectron: HTTP redirect followed into local file loaderGHSA-v64r-4m7r-3mvq · 5 Aug 2026Fixed in 40.9.1
- ModerateElectron: Extension tab APIs operate across session boundariesGHSA-m55f-7gqj-fr98 · 5 Aug 2026Fixed in 40.9.1
- ModerateElectron: shell.openPath path validation bypass via embedded null byteGHSA-5c9j-mhmv-5xgx · 5 Aug 2026Fixed in 40.9.1
- ModerateElectron: Permission Check Handler Receives Main Frame Origin Instead of Requesting Iframe OriginGHSA-9pf5-hg6p-4pwp · 5 Aug 2026Fixed in 40.9.1
- ModerateElectron: Parent process code-sign check is spoofableGHSA-jm7p-cc5g-qwxx · 5 Aug 2026Fixed in 40.9.1
- ModerateElectron: Named window.open targets not scoped to the opener's browsing contextGHSA-f3pv-wv63-48x8 · 7 Apr 2026Fixed in 40.8.5
- ModerateElectron: AppleScript injection in app.moveToApplicationsFolder on macOSGHSA-5rqw-r77c-jp79 · 3 Apr 2026Fixed in 40.8.0
- ModerateElectron: Service worker can spoof executeJavaScript IPC repliesGHSA-xj5x-m3f3-5x3h · 3 Apr 2026Fixed in 40.8.1
- ModerateElectron: Incorrect origin passed to permission request handler for iframe requestsGHSA-r5p7-gp4j-qhrx · 3 Apr 2026Fixed in 40.8.1
- ModerateElectron: Out-of-bounds read in second-instance IPC on macOS and LinuxGHSA-3c8v-cfp5-9885 · 3 Apr 2026Fixed in 40.8.1
- ModerateElectron: nodeIntegrationInWorker not correctly scoped in shared renderer processesGHSA-xwr5-m59h-vwqr · 3 Apr 2026Fixed in 40.8.4
- ModerateElectron: Registry key path injection in app.setAsDefaultProtocolClient on WindowsGHSA-mwmh-mq4g-g6gr · 3 Apr 2026Fixed in 40.8.1
- ModerateElectron: HTTP Response Header Injection in custom protocol handlers and webRequestGHSA-4p4r-m79c-wq3v · 3 Apr 2026Fixed in 40.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 40.9.1
- LowElectron: Off-screen rendering trusts GPU-supplied geometry over shared-memory sizeGHSA-pfmc-3mgc-p6fp · 5 Aug 2026Fixed in 40.9.1
- LowElectron: Crash in clipboard.readImage() on malformed clipboard image dataGHSA-f37v-82c4-4x64 · 7 Apr 2026Fixed in 40.8.5
- LowElectron: Use-after-free in offscreen shared texture release() callbackGHSA-8x5q-pvf5-64mp · 3 Apr 2026Fixed in 40.8.5
- LowElectron: Unquoted executable path in app.setLoginItemSettings on WindowsGHSA-jfqx-fxh3-c62j · 3 Apr 2026Fixed in 40.8.0
Release note
Release Notes for v40.7.0
Features
Fixes
Allow dynamically updating menu item labels, sublabels, and icons. #49973 (Also in 41)
Fixed
safeStoragefailing to clean up legacy keychain entries when migrating to suffixed account names on macOS, and fixed first launch creating entries with the wrong (unsuffixed) account name. #49817Fixed a bug that cause offscreen rendering doesn't have valid screen info and unable to get valid result of related media queries.
Added webPreference.offscreen.deviceScaleFactor to allow user specify a value, instead of using user's primary display's value. #49681
Fixed a macOS crash when creating a new tab from the tab overview. #49934 (Also in 41)
Fixed an issue on macOS where Universal Links were not delivered to
app.on('continue-activity')on cold launch whenNSUserActivity.userInfowas nil. #50005 (Also in 39, 41)Fixed an issue where
VideoFrameobjects returned throughcontextBridgehad an incorrect prototype. #50022 (Also in 39, 41)Fixed an issue where malformed custom
toastXmlcould cause a Notification crash. #49952 (Also in 41)Fixed menu bar hiding after a call to
win.setFullScreen(false)when not in fullscreen on Linux. #49994 (Also in 41)Fixed menus to correctly emit
menu-will-closeevent when closed after any submenu has been open. #49963 (Also in 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.