Repository navigation
chore(electron): Update dependency electron to v42 [SECURITY] - #10718
renovate[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
|
Important Review skippedBot user detected. Ask an organization administrator to verify that this bot has an active assigned CodeRabbit review seat. See the seat-assignment guide. After the seat is confirmed, request a review again.
|
26c6d30 to
fed3b78
Compare
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
^41.0.0→^42.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Electron: can enable Node.js integration in Web Workers despite embedder restrictions
CVE-2026-102676 / GHSA-9qh4-3jw8-366w
More information
Details
Impact
A
<webview>could enable Node.js integration in its Web Workers even when its embedder had Node.js integration disabled, giving guest content more privilege than the embedder allowed.Apps are only affected if they enable the
<webview>tag and the embedder is unsandboxed. Apps that do not use<webview>, or that keep the embedder sandboxed, are not affected.Workarounds
Remove
nodeIntegrationInWorkerfrom the guest preferences in awill-attach-webviewhandler, or do not enable the<webview>tag when loading untrusted content.Fixed Versions
44.0.0-beta.543.4.142.9.241.10.6For 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:C/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: File and HTTP protocol handlers allow cross-origin reads without corsEnabled
CVE-2026-102675 / GHSA-j84w-jfhq-vhvj
More information
Details
Impact
Responses served through
protocol.registerFileProtocolorprotocol.registerHttpProtocolfor a custom scheme registered withsupportFetchAPI: truebut withoutcorsEnabled: truecould be read cross-origin by web content. This completes the fix for CVE-2026-70604.Apps are only affected if they register such a scheme, serve it through one of those handlers, and load untrusted content. Apps that set
corsEnabled: true, or that do not load untrusted content, are not affected.Workarounds
Set
corsEnabled: trueon the scheme, or do not load untrusted content in windows that can reach it.Fixed Versions
44.0.0-beta.543.4.142.9.241.10.6For 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:C/C:H/I:N/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions
CVE-2026-102674 / GHSA-gr2m-v5gq-v685
More information
Details
Impact
Windows opened from a sandboxed top-level document did not inherit that document's HTML
sandboxrestrictions, so content that was meant to run sandboxed could open a window with the app's full origin. GHSA-hq2x-r82h-9wj4 covers the same issue for sandboxed iframes.Apps are only affected if they render untrusted content in a sandboxed top-level document that allows popups. Apps that deny popups from untrusted content with
setWindowOpenHandlerare not affected.Workarounds
Return
{ action: 'deny' }fromsetWindowOpenHandlerfor windows opened by untrusted content.Fixed Versions
44.0.0-beta.543.4.142.9.241.10.6For 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:C/C:H/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab
CVE-2026-102673 / GHSA-hq2x-r82h-9wj4
More information
Details
Impact
Popups opened from a sandboxed iframe through a link (for example
target="_blank"or a middle-click) did not inherit the iframe's HTMLsandboxrestrictions. Content that was meant to run sandboxed could open a popup with the embedding app's full origin, gaining access to that origin's cookies, storage, and same-origin scripting.Apps are only affected if they embed untrusted content in iframes sandboxed with
allow-scripts allow-popups. Apps that do not embed untrusted content in sandboxed iframes are not affected.Workarounds
Use
setWindowOpenHandleron the parentWebContentsto deny or constrain popups opened from sandboxed frames, or do not applyallow-popupsto sandboxed iframes that render untrusted content.Fixed Versions
43.0.042.5.241.10.4For 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:C/C:H/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Electron: 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).
Electron: Mitigation for compromised eMudhra intermediate certificates
CVE-2026-115570 / GHSA-jr5w-w6x2-84p9
More information
Details
Impact
A set of eMudhra intermediate certificates were compromised and are being blocked by browsers and other TLS clients. This Electron update adds the same block to both Chromium networking and Node.js
tls,httpsandfetch. On earlier versions, an attacker holding a certificate issued through these intermediates and able to intercept network traffic could impersonate a TLS server to an app.Apps are only affected if they make TLS connections over a network an attacker can intercept. Apps that make no network connections are not affected.
Other software has shipped the same mitigation, including Go (CVE-2026-111943) and Firefox (CVE-2026-113470).
Workarounds
There are no app side workarounds, you must update to a patched version of Electron.
Fixed Versions
45.0.0-beta.644.9.143.8.142.11.16For 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:U/C:H/I:H/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
electron/electron (electron)
v42.11.16: electron v42.11.16Compare Source
Release Notes for v42.11.16
Fixes
webPreferences. #55050 (Also in 43, 44, 45)setCertificateVerifyPrococcasionally not being applied to a request issued concurrently with the first request to a host. #55054 (Also in 43, 44, 45)v42.11.15: electron v42.11.15Compare Source
Release Notes for v42.11.15
Fixes
net.fetchandsession.fetchfailing permanently withnet::ERR_FAILEDafter the Network Service process restarts. #54925 (Also in 43, 44, 45)utilityProcessdropping messages posted withprocess.parentPort.postMessage()right before the process exits. #55000 (Also in 43, 45)Other Changes
v42.11.14: electron v42.11.14Compare Source
Release Notes for v42.11.14
Other Changes
v42.11.13: electron v42.11.13Compare Source
Release Notes for v42.11.13
Fixes
v42.11.12: electron v42.11.12Compare Source
Release Notes for v42.11.12
Fixes
ResizeObserverloop-limit error handler modified layout. #54610 (Also in 43, 44, 45)Other Changes
v42.11.11: electron v42.11.11Compare Source
Release Notes for v42.11.11
Fixes
v42.11.10: electron v42.11.10Compare Source
Release Notes for v42.11.10
Other Changes