electron
45.3.4 · 17 Nov 2026MIT12.9M / weekRepositoryHomepagenpmAtom feed
42.11.18 is the newest release of 42.x.
In short
1 breaking12 fixed
- Breaking
Security
Fixes 3 advisories that affected 42.11.2
- ModerateElectron: SameSite cookie restrictions are not applied to windows opened from linksGHSA-2p8c-gr87-2676 · 22 Oct 2026Fixed in 42.11.3
- 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
4 advisories affect 42.11.3; 42.11.16 fixes them
- HighElectron: Mitigation for compromised eMudhra intermediate certificatesGHSA-jr5w-w6x2-84p9 · 23 Oct 2026Fixed in 42.11.16
- ModerateElectron: Pointer lock permission requests can be attributed to the wrong frameGHSA-x562-297c-g43g · 22 Oct 2026Fixed in 42.11.9
- 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
Release note
Release Notes for v42.11.3
Fixes
File System Access permission requests and the
file-system-access-restrictedevent are scoped to the requesting document, grants are reset when the origin's last page closes, and write access works in in-memory sessions. #53695 (Also in 43, 44, 45)Fixed
session.setPermissionCheckHandlerreceiving the top-level origin and a nullwebContentsforhidandusbchecks made from a subframe. #53736 (Also in 43, 44, 45)Fixed
webContents.on(),removeListener()andremoveAllListeners()throwing "Object has been destroyed" forconsole-messagelisteners after the WebContents was destroyed. #53497 (Also in 43, 44, 45)Fixed a crash on Linux when
process.envwas written while another thread was reading the environment, and a memory leak when a worker thread exits. #53511 (Also in 43, 44, 45)Fixed a possible crash on Windows when a file dialog was shown for a window that was being closed at the same time. #53585 (Also in 43, 44, 45)
Fixed a renderer crash when the main process sent IPC to, or a page navigated, a same-process
window.open()child whosecontextIsolationdiffered from its opener's. #53541 (Also in 43, 44, 45)Fixed crashes in
setDisplayMediaRequestHandlerwhen the granted frame had been destroyed or another tab was granted by id. #53674 (Also in 43, 44, 45)Internal
<webview>,window.close()andexecuteJavaScriptreply IPCs are validated against the sending frame. #53727 (Also in 43, 44, 45)<webview>withoutallowpopupsalso blocks links opened into a new window by modifier-click, and such windows navigate as the clicking document rather than as a browser-initiated load. #53719 (Also in 43, 44, 45)- Breaking
getUserMediawithchromeMediaSource: 'desktop'no longer accepts WebContents source ids; usechromeMediaSource: 'tab'withwebContents.getMediaSourceId()orsetDisplayMediaRequestHandlerto capture a WebContents. #53710 (Also in 43, 44, 45) nodeIntegrationInWorkernow applies only to workers created by frames that themselves have Node integration; enablenodeIntegrationInSubFramesto keep Node in workers created by subframes. #53713 (Also in 43, 44, 45)openExternalpermission requests started by a frame that has since gone away are attributed to that frame's origin rather than to the navigating page. #53697 (Also in 43, 44, 45)pointerLockandkeyboardLockpermission requests now report the requesting frame, andexecCommand('paste')requires user activation in the frame that calls it. #53702 (Also in 43, 44, 45)
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.