Repository navigation
chore(deps): update dependency electron to v42 [security] - #2248
renovate[bot] wants to merge 1 commit into
Conversation
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
More templates
@tanstack/angular-db
@tanstack/browser-db-sqlite-persistence
@tanstack/capacitor-db-sqlite-persistence
@tanstack/cloudflare-durable-objects-db-sqlite-persistence
@tanstack/db
@tanstack/db-ivm
@tanstack/db-sqlite-persistence-core
@tanstack/electric-db-collection
@tanstack/electron-db-sqlite-persistence
@tanstack/expo-db-sqlite-persistence
@tanstack/node-db-sqlite-persistence
@tanstack/offline-transactions
@tanstack/powersync-db-collection
@tanstack/query-db-collection
@tanstack/react-db
@tanstack/react-native-db-sqlite-persistence
@tanstack/react-router-with-db
@tanstack/rxdb-db-collection
@tanstack/solid-db
@tanstack/svelte-db
@tanstack/tauri-db-sqlite-persistence
@tanstack/trailbase-db-collection
@tanstack/vue-db
commit: |
|
Size Change: 0 B Total Size: 220 kB ℹ️ View Unchanged
|
105382f to
f2d0156
Compare
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
^41.0.0→^42.0.0Electron: HID and USB permission checks can be attributed to the wrong origin
CVE-2026-113800 / GHSA-fw47-9c62-h3vw
More information
Details
Impact
For
hidandusbpermission checks made from an iframe,session.setPermissionCheckHandlerwas given the top-level frame's origin and details instead of the requesting frame's. Apps that allow these permissions based on origin could grant an embedded frame access intended for the top-level page.You're only affected if you use
setPermissionCheckHandlerwith origin-based logic forhidorusband embed cross-origin iframes withallow="hid"orallow="usb". Apps that don't delegate those features to untrusted iframes are not affected.Workarounds
Don't add
allow="hid"/allow="usb"to untrusted iframes, or make the decision in yourselect-hid-device/select-usb-devicehandler usingdetails.frame.Fixed Versions
45.0.0-alpha.544.3.043.7.042.11.3For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: openExternal permission requests can be attributed to the wrong origin
CVE-2026-114121 / GHSA-997q-gvvc-jwmx
More information
Details
Impact
Requests to open external protocol URLs could be attributed to a document other than the one that asked for them, so the
requestingUrlpassed tosession.setPermissionRequestHandlerwas a trusted origin for a launch untrusted content had requested. An origin-based handler could therefore let untrusted content launch an OS-registered external application.Apps are only affected if they grant
openExternalbased on the requesting origin and let untrusted content open or navigate windows. Apps whose permission handler deniesopenExternalfor untrusted content are not affected.Workarounds
Deny the
openExternalpermission for untrusted content, or deny the windows it opens withsetWindowOpenHandler.Fixed Versions
45.0.0-alpha.544.3.043.7.042.11.3For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: Off-screen rendering on macOS trusts GPU-supplied frame geometry
CVE-2026-114124 / GHSA-h3v5-h239-pg29
More information
Details
Impact
In offscreen rendering mode on macOS, frame data received from the GPU process was not fully validated by the main process. A compromised GPU process could cause the main process to read out-of-bounds memory while producing
paintevent images, disclosing memory or crashing the app. GHSA-pfmc-3mgc-p6fp covers the same issue on the other capture paths.Apps are only affected if they use offscreen rendering (
webPreferences.offscreen) on macOS and an attacker has separately gained code execution in the GPU process. Apps that do not use offscreen rendering are not affected.Workarounds
There are no app side workarounds, you must update to a patched version of Electron.
Fixed Versions
45.0.0-alpha.944.4.343.7.342.11.6For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: Frame subscription trusts GPU-supplied frame geometry
CVE-2026-114122 / GHSA-3qxv-5xgr-q7w9
More information
Details
Impact
Frame data received from the GPU process for
webContents.beginFrameSubscriptionwas not fully validated by the main process. A compromised GPU process could cause the main process to read out-of-bounds memory while producing the captured frame images, disclosing memory or crashing the app.Apps are only affected if they use
webContents.beginFrameSubscriptionand an attacker has separately gained code execution in the GPU process. Apps that do not subscribe to captured frames are not affected.Workarounds
There are no app side workarounds, you must update to a patched version of Electron.
Fixed Versions
45.0.0-alpha.944.4.343.7.342.11.6For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: Extension tabs.query returns tab URLs and titles without the tabs permission
CVE-2026-113797 / GHSA-98mx-cjp9-gchm
More information
Details
Impact
chrome.tabs.query()returned each tab'surlandtitleto extensions that held neither thetabspermission nor matching host permissions, so any loaded extension could read the URL and title of every webContents in its session.Apps are only affected if they load extensions (
session.extensions.loadExtension) that they do not fully trust. Apps that load no extensions, or only trusted ones, are not affected.Workarounds
Do not load untrusted or unvalidated extensions. In general you should only load trusted extensions.
Fixed Versions
45.0.0-alpha.444.1.143.5.142.11.1For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: Pointer lock permission requests can be attributed to the wrong frame
CVE-2026-113798 / GHSA-x562-297c-g43g
More information
Details
Impact
For
pointerLockpermission requests made from some cross-origin iframes,session.setPermissionRequestHandler()was given the top-level frame'srequestingUrlandisMainFrameinstead of the requesting frame's. Apps that grant pointer lock based on the requesting origin could grant it to embedded content under the top-level page's identity.Apps are only affected if they embed untrusted content in iframes and decide
pointerLockrequests by origin insetPermissionRequestHandler. Apps that do not embed untrusted content, or that denypointerLockfor it, are not affected.Workarounds
Deny the
pointerLockpermission for web contents that embed untrusted frames.Fixed Versions
45.0.0-alpha.1344.5.043.7.642.11.9For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: SameSite cookie restrictions are not applied to windows opened from links
CVE-2026-113796 / GHSA-2p8c-gr87-2676
More information
Details
Impact
Pages opened into a new window from a link were loaded as if the app itself had navigated there rather than the page that contained the link, so the request was treated as same-site:
SameSite=Strictcookies were sent andSec-Fetch-Sitedid not identify the initiating page. Content shown in the app could use this to make a credentialed top-level request to another site that relies on SameSite cookies as a CSRF defence.Apps are only affected if they load untrusted content and allow it to open new windows. Apps that deny new windows from untrusted content with
setWindowOpenHandlerare not affected.Workarounds
Return
{ action: 'deny' }fromsetWindowOpenHandlerfor windows opened by untrusted content.Fixed Versions
45.0.0-alpha.644.3.043.7.042.11.3For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
electron/electron (electron)
v42.11.9: electron v42.11.9Compare Source
Release Notes for v42.11.9
Fixes
clipboard.read(),readText()andhas()resolving seconds late on Linux while the app was idle. #54310 (Also in 43, 44, 45)fs.rmSyncfailing to remove read-only files on Windows. #54257 (Also in 43, 44, 45)pointerLockpermission requests from some iframes reporting the parent frame. #54466 (Also in 43, 44, 45)utilityProcessdroppingstdout/stderroutput that the child wrote immediately before exiting. #54332 (Also in 43, 44, 45)RuntimeError: unreachableafter updating between certain patch releases. #54239 (Also in 43, 44, 45)v42.11.8: electron v42.11.8Compare Source
Release Notes for v42.11.8
Other Changes
v42.11.7: electron v42.11.7Compare Source
Release Notes for v42.11.7
Fixes
sandboxed_renderer.bundle.jsscript failed to run" console error when DevTools attached to a sandboxed frame before its first navigation. #54175 (Also in 43)guestInstanceId" error when removing a loaded<webview>from the DOM. #54098 (Also in 43, 44, 45)v42.11.6: electron v42.11.6Compare Source
Release Notes for v42.11.6
Other Changes
v42.11.5: electron v42.11.5Compare Source
Release Notes for v42.11.5
Other Changes
v42.11.4: electron v42.11.4Compare Source
Release Notes for v42.11.4
Fixes
nodeIntegrationInSubFramesenabled andsandboxdisabled, e.g. on pages that embed Meta Pixel. #53886 (Also in 43, 44, 45)Other Changes
v42.11.3: electron v42.11.3Compare Source
Release Notes for v42.11.3
Fixes
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)session.setPermissionCheckHandlerreceiving the top-level origin and a nullwebContentsforhidandusbchecks made from a subframe. #53736 (Also in 43, 44, 45)webContents.on(),removeListener()andremoveAllListeners()throwing "Object has been destroyed" forconsole-messagelisteners after the WebContents was destroyed. #53497 (Also in 43, 44, 45)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)window.open()child whosecontextIsolationdiffered from its opener's. #53541 (Also in 43, 44, 45)setDisplayMediaRequestHandlerwhen the granted frame had been destroyed or another tab was granted by id. #53674 (Also in 43, 44, 45)<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)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)v42.11.2: electron v42.11.2Compare Source
Release Notes for v42.11.2
Fixes
node::ObjectWrapaborting during garbage collection on Node.js 24.19.0 and later. #53394 (Also in 43, 44, 45)Other Changes
v42.11.1: electron v42.11.1Compare Source
Release Notes for v42.11.1
Fixes
chrome.tabs.query()returning taburlandtitleto extensions without thetabspermission or host access, aligning withtabs.get. #53355 (Also in 43, 44, 45)contextBridge, and several main/utility-process crashes when option objects passed to Electron APIs contain throwing accessors or Proxy traps. #53329 (Also in 43, 44)Other Changes
v42.11.0: electron v42.11.0Compare Source
Release Notes for v42.11.0
Fixes
fs.constants.O_DIRECTORY,O_NOFOLLOWandO_DIRECTholding x86 values on Linux arm64 and armv7l, which made opening a directory fail withEINVAL, and maderequire('trace_events')behave the same on cross-compiled builds as on native ones. #53318 (Also in 43, 44, 45)node:wasifunctions in optimized code. #53267 (Also in 43, 44, 45)--langvalues such asde-DEloading no locale resources on macOS, which left localized strings empty and could crash WebAuthn Touch ID prompts. #53187 (Also in 43, 44)Other Changes
v42.10.1: electron v42.10.1Compare Source
Release Notes for v42.10.1
Fixes
webContents.print()honoringprintBackground,duplexMode, and printer default duplex settings. #53158 (Also in 43, 44)WebContentsViewwouldn't see the correct window size. #53151 (Also in 43, 44)additionalDatatoapp.requestSingleInstanceLock(). #53157 (Also in 43, 44)Other Changes
fetch()calls and file:// loads in renderers no longer wait for the main process to be idle when nowebRequestlisteners or protocol interceptors are registered. #53143 (Also in 43, 44)v42.10.0: electron v42.10.0Compare Source
Release Notes for v42.10.0
Features
Fixes
webContents.setDevToolsWebContents(). #52981 (Also in 43, 44)BrowserWindow.unmaximize()andrestore()having no effect on Wayland when the window was maximized immediately after creation. #53126 (Also in 44)Uncaught illegal accesserrors and possible renderer crashes after closing a same-process child window or removing an iframe withnodeIntegrationInSubFramesenabled. #53042 (Also in 44)dialog.showOpenDialog/dialog.showSaveDialogopening at an unusable location on Linux whendefaultPathis a bare filename without a directory. #52980 (Also in 43, 44)app.setLoginItemSettingsif a non-UTF8 service name is used. #52989 (Also in 43, 44)tls/httpsshortly before exiting, affectingapp.exit()beforereadyand short-livedELECTRON_RUN_AS_NODE/child_process.fork()scripts. #52992 (Also in 43, 44)SpeechRecognition.available()orSpeechRecognition.install()withprocessLocally. #53016 (Also in 43, 44)requestSingleInstanceLockcould result in a crash. #52982 (Also in 43, 44)browserWindow.setTitle(). #53099 (Also in 43, 44)persist:prefix). #52990 (Also in 43, 44)rgba(0,0,0,0)failing back to default frame color. #52976 (Also in 41, 43)Other Changes
BrowserWindowon Linux.contextBridge-exposed APIs.ipcRenderer,ipcMainhandlers andwebContents.send. #53019 (Also in 43, 44)utilityProcess.fork(),child_process.fork()/ELECTRON_RUN_AS_NODEchild processes and Node.js-enabled renderers. #53136 (Also in 43, 44)v42.9.3: electron v42.9.3Compare Source
Release Notes for v42.9.3
Fixes
app.quit()while ashell.openExternal()orshell.openPath()call was still waiting on a system "Open with" dialog. #52900 (Also in 41, [43](https://redirect.github.co