chore(deps): update dependency electron to v42.5.1 [security] - #22
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
42.4.1→42.5.1Electron: ProtocolResponse.url reuses the default session cache instead of the registering session
CVE-2026-70606 / GHSA-r4w5-6pfg-jxp5
More information
Details
Impact
When a custom protocol handler returned a
ProtocolResponsewith aurland nosession, Electron made the upstream request throughdefaultSessioninstead of the session that handled the protocol. A cached response could then be reused across otherwise isolated session partitions.Apps that use
ProtocolResponse.url, omitProtocolResponse.session, and rely on separate sessions to isolate content are affected. Apps that set an explicitsession, or that do not isolate content across sessions, are not affected.Workarounds
Set
ProtocolResponse.sessionexplicitly so the request uses the intended session's cache.Fixed Versions
43.0.042.5.141.9.140.10.6For more information
If you have any questions or comments about this advisory, email Electron at security@electronjs.org
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
electron/electron (electron)
v42.5.1: electron v42.5.1Compare Source
Release Notes for v42.5.1
Fixes
ProtocolResponse.urlrequests being made through the default session instead of the session the protocol handler was registered on whenProtocolResponse.sessionwas not set. #52132 (Also in 40, 41, 43)BaseWindow. #52117 (Also in 41, 43)Other Changes
v42.5.0: electron v42.5.0Compare Source
Release Notes for v42.5.0
Fixes
NativeWindowViews::MoveBehindTaskBarIfNeeded(). #52022 (Also in 41, 43)Other Changes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.