chore(deps): update dependency electron to v13 [security] #62278
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:
12.2.3
->13.6.6
GitHub Vulnerability Alerts
CVE-2022-21718
Impact
This vulnerability allows renderers to obtain access to a random bluetooth device via the web bluetooth API if the app has not configured a custom
select-bluetooth-device
event handler. The device that is accessed is random and the attacker would have no way of selecting a specific device.All current stable versions of Electron are affected.
Patches
This has been patched and the following Electron versions contain the fix:
17.0.0-alpha.6
16.0.6
15.3.5
14.2.4
13.6.6
Workarounds
Adding this code to your app can workaround the issue.
For more information
If you have any questions or comments about this advisory, email us at [email protected].
Release Notes
electron/electron
v13.6.6
Compare Source
Release Notes for v13.6.6
Fixes
render_frame_disposed_
after updating render frame host. #32130 (Also in 14, 15, 16)Other Changes
v13.6.3
Compare Source
Release Notes for v13.6.3
Fixes
setContentProtection
. #31829 (Also in 14, 15, 16)Other Changes
v13.6.2
Compare Source
Release Notes for v13.6.2
Fixes
Content-Disposition
filenames would be incorrectly truncated at the first comma for a filename attachment which contained one. #31691 (Also in 14, 15, 16)Other Changes
v13.6.1
Compare Source
Release Notes for v13.6.1
Fixes
MediaMetadata
did not work properly. #31532 (Also in 14, 15, 16)Other Changes
v13.6.0
Compare Source
Release Notes for v13.6.0
Features
ipcRenderer.sendSync()
is called with no listeners for channel onipcMain
. #31432 (Also in 14, 15, 16)Fixes
v13.5.2
Compare Source
Release Notes for v13.5.2
Fixes
WebContents::MessageTo
when a render frame has been destroyed. #31335 (Also in 14, 15, 16)Other Changes
v13.5.1
Compare Source
Release Notes for v13.5.1
Fixes
BrowserWindow
incorrectly affected those in an attachedBrowserView
. #31197 (Also in 14, 15, 16)(Check failed: !regexp_stack_->is_in_use())
. #31142 (Also in 14, 15, 16)globalShortcut
s on macOS. #30568 (Also in 14, 15)Other Changes
v13.5.0
Compare Source
Release Notes for v13.5.0
Features
Fixes
BrowserView
webContents would appear not to load in some circumstances. #31047 (Also in 14, 15)isMaximized()
. #31039 (Also in 14, 15)Other Changes
v13.4.0
Compare Source
Release Notes for v13.4.0
Features
webContents.fromDevToolsTargetId(targetId)
to lookup a WebContents instance from an associated Chrome DevTools Protocol TargetID. #30731 (Also in 14, 15)Fixes
Other Changes
1230767
. #30638Documentation
v13.3.0
Compare Source
Release Notes for v13.3.0
Other Changes
1228036
. #306391231134
. #30637 (Also in 11)1233564
. #30636 (Also in 11)1234009
. #30635 (Also in 11)v13.2.3
Compare Source
Release Notes for v13.2.3
Fixes
showArrowButtons
is enabled ifitems
is an empty array. #30680 (Also in 14, 15)v13.2.2
Compare Source
Release Notes for v13.2.2
Fixes
webView
where theleave-html-full-screen
event is not emitted if the user exits fullscreen withesc
instead of by clicking into thewebView
. #30560 (Also in 14, 15)BrowserViews
on Windows when either thex
ory
coordinate is negative (off-screen). #30540 (Also in 14, 15)documentEdited
status on macOS withtitlebarStyle: 'hiddenInset'
inadvertently moves the traffic light location. #30603 (Also in 14, 15)Other Changes
1227933
. #30583 (Also in 12)1231950
. #305841234764
. #305871234770
. #305861234829
. #30585v13.2.1
Compare Source
Release Notes for v13.2.1
Fixes
v13.2.0
Compare Source
Release Notes for v13.2.0
Features
Fixes
Other Changes
1196853
. #30449v13.1.9
Compare Source
Release Notes for v13.1.9
Fixes
documentEdited
status not updating close button for frameless window on macOS. #30393 (Also in 14, 15)Other Changes
1229298
. #30452v13.1.8
Compare Source
Release Notes for v13.1.8
Fixes
Other Changes
1205059
,1196302. #30265v13.1.7
Compare Source
Release Notes for v13.1.7
Fixes
requestFullscreen
inside webview does not make the element take fullscreen. #29987 (Also in 12, 14)webContents.on('login')
callback synchronously. #30091 (Also in 12, 14)fsPromises.readFile
. #29928BrowserView
on macOS. #30149 (Also in 14)document.focus
when opening multiple windows on macOSOther Changes
1216190
. #30100 (Also in 12, 14)Documentation
v13.1.6
Compare Source
Release Notes for v13.1.6
Fixes
app.quit()
on macOS. #29961 (Also in 14)self.module.paths
wouldn't work in Workers. #30013 (Also in 12, 14)target=_blank
from webview. #29951 (Also in 12, 14)Other Changes
1090000
. #29997v13.1.5
Compare Source
Release Notes for v13.1.5
Fixes
window.open
usingsetWindowOpenHandler
whennativeWindowOpen: false
. #29882 (Also in 12, 14)contextIsolation
was enabled. #29885 (Also in 14)setAlwaysOnTop
value would sometimes not be preserved for child windows on macOS. #29956 (Also in 12, 14)Geolocation
was used. #29912 (Also in 14)Other Changes
v13.1.4
Compare Source
Release Notes for v13.1.4
Fixes
v13.1.3
Compare Source
Release Notes for v13.1.3
Fixes
select-bluetooth-device
firing on Windows. #29611 (Also in 12, 14)warnAboutRemoteModuleWithRemoteContent
for the new default value ofenableRemoteModule
. #29691Other Changes
Documentation
v13.1.2
Compare Source
Release Notes for v13.1.2
Fixes
fs.promises.readFile
would improperly error when passing aFileHandle
to thepath
argument. #29576 (Also in 14)v13.1.1
Compare Source
Release Notes for v13.1.1
Fixes
v13.1.0
Compare Source
Release Notes for v13.1.0
Features
chrome://gpucrash
. #29491 (Also in 14)Fixes
Alt+Shift
andAlt+Ctrl
toggling menu bar on KDE. #29443 (Also in 12, 14)Other Changes
1090441
,1173656,1181434,1188117. #29494Documentation
v13.0.1
Compare Source
Release Notes for v13.0.1
Fixes
v13.0.0
Compare Source
Release Notes for v13.0.0
Stack Upgrades
Breaking Changes
session.setPermissionCheckHandler(handler)
to allow forhandler
's first parameter,webContents
to benull
. #19903Features
Additions
process.contextId
used by@electron/remote
. #28251process.contextIsolated
property that indicates whether the current renderer context hascontextIsolation
enabled. #28252process.uptime()
to sandboxed renderers. #26684roundedCorners
option forBrowserWindow
. #27572context-menu
event. #26788session.storagePath
API to get the path on disk for session-specific data. #28866ServiceWorkers
. #27562disposition
,referrer
andpostBody
to the details object passed to the window open handler registered withsetWindowOpenHandler
. #29277Improvements
session.setPermissionCheckHandler
. These includeNotification.permission
, andpermission.query
. Please note that thewebContents
parameter to the check handler can now be null. #19903WebFrameMain.executeJavaScriptInIsolatedWorld()
. #27926trafficLightPosition
option work forcustomButtonOnHover
window. #26789submitURL
option forcrashReporter.start
is no longer a required argument whenuploadToServer
is false. #28283napi_threadsafe_function
. #29048 (Also in 12)Removed/Deprecated
BrowserWindow
extension APIs. #26696shell.moveItemToTrash()
. #26723systemPreferences
methods. #26849Fixes
hiddenInset
titleBarStyle's abnormal fullscreen titlebar. FixhiddenInset
titleBarStyle not working withtrafficLightPosition
option. #27489contextBridge
might incorrectly try to serialize some WebAssembly objects. #27518BrowserWindow.setWindowButtonVisibility
work for window withcustomButtonsOnHover
titlebar style. #27073app.setAppUserModelId
. #28921Also in earlier versions....
uv_run()
. #28973 (Also in 11, 12)systemPreferences.getAccentColor()
,getSystemColor
andgetColor
are now correctly converted into the devices color space. Previously the color would have been subtly incorrect. #28173 (Also in 11, 12)<webview>
focus
/blur
events not working withcontextIsolation
enabled. #29025 (Also in 10, 11, 12)desktopCapturer.getSources()
promise result sometimes never resolving. #28280 (Also in 10, 11, 12)postData
parameter missing fromnew-window
event. #28542 (Also in 12)webFrame
spell checker APIs crashing when called in sandboxed renderer. #29087 (Also in 12)shell.trashItem()
from the renderer process. #28788 (Also in 12)setCertificateVerifyProc
with many concurrent verification requests. #28433 (Also in 11, 12)BrowserView
s. #27786 (Also in 12)Tray
events. #26668 (Also in 12)BrowserView
s could have mismatched draggable regions to their bounds. #27952 (Also in 10, 11, 12)illegal access error
could be thrown whennodeIntegrationInSubFrames
is enabled. #29170 (Also in 12)select-serial-port
callback crashes when called with an invalid serial port ID. #28619 (Also in 12)win.capturePage()
never called back after callinghide()
for a hidden window on some platforms. #28076 (Also in 11, 12)window.print()
did not work properly when printing a pdf from the pdf plugin. #28351 (Also in 12)contextBridge
could be displayed incorrectly. #28446 (Also in 12)nodeIntegrationInSubframes
is enabled. #27582 (Also in 10, 11, 12)window.setFullScreen
could cause problems. #28763 (Also in 11, 12)window.hide()
was called while they were open. #28694 (Also in 11, 12)Configuration
📅 Schedule: "" in timezone America/Los_Angeles.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.