Where
AND
-Infinity
0
Severity
8.4
XSS
AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Impact Apps that pass VideoFrame objects (from the WebCodecs API) across the contextBridge are vulnerable to a context isolation bypass. An attacker who can execute JavaScript in the main world (for example, via XSS) can use a bridged VideoFrame to gain access to the isolated world, including any Node.js APIs exposed to the preload script.

Apps are only affected if a preload script returns, resolves, or passes a VideoFrame object to the main world via contextBridge.exposeInMainWorld(). Apps that do not bridge VideoFrame objects are not affected.

Workarounds Do not pass VideoFrame objects across contextBridge. If an app needs to transfer video frame data, serialize it to an ArrayBuffer or ImageBitmap before bridging.

Fixed Versions 41.0.0-beta.8 40.7.0 39.8.0

For more information If there are any questions or comments about this advisory, please email security@electronjs.org

1 / 2
Source: GitHub
First published (updated )
Severity
5.3
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:L

Impact On macOS and Linux, apps that call app.requestSingleInstanceLock() were vulnerable to an out-of-bounds heap read when parsing a crafted second-instance message. Leaked memory could be delivered to the app's second-instance event handler.

This issue is limited to processes running as the same user as the Electron app.

Apps that do not call app.requestSingleInstanceLock() are not affected. Windows is not affected by this issue.

Workarounds There are no app side workarounds, developers must update to a patched version of Electron.

Fixed Versions 41.0.0 40.8.1 39.8.1 38.8.6

For more information If there are any questions or comments about this advisory, please email security@electronjs.org

1 / 2
Source: GitHub
First published (updated )
Severity
5.4
AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

Impact The select-usb-device event callback did not validate the chosen device ID against the filtered list that was presented to the handler. An app whose handler could be influenced to select a device ID outside the filtered set would grant access to a device that did not match the renderer's requested filters or was listed in exclusionFilters.

The WebUSB security blocklist remained enforced regardless, so security-sensitive devices on the blocklist were not affected. The practical impact is limited to apps with unusual device-selection logic.

Workarounds There are no app side workarounds, you must update to a patched version of Electron.

Fixed Versions 41.0.0-beta.8 40.7.0 39.8.0 38.8.6

For more information If there are any questions or comments about this advisory, send an email to security@electronjs.org

1 / 2
Source: GitHub
First published (updated )
Severity
7.5
Input Validation
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Impact On Windows, app.setAsDefaultProtocolClient(protocol) did not validate the protocol name before writing to the registry. Apps that pass untrusted input as the protocol name may allow an attacker to write to arbitrary subkeys under HKCU\Software\Classes\, potentially hijacking existing protocol handlers.

Apps are only affected if they call app.setAsDefaultProtocolClient() with a protocol name derived from external or untrusted input. Apps that use a hardcoded protocol name are not affected.

Workarounds Validate the protocol name matches /^[a-zA-Z][a-zA-Z0-9+.-]$/ before passing it to app.setAsDefaultProtocolClient().

Fixed Versions 41.0.0 40.8.1 39.8.1 38.8.6

For more information If there are any questions or comments about this advisory, please email security@electronjs.org

1 / 2
Source: GitHub
First published (updated )
Severity
8.8
Use After Free
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Impact Apps that use the powerMonitor module may be vulnerable to a use-after-free. After the native PowerMonitor object is garbage-collected, the associated OS-level resources (a message window on Windows, a shutdown handler on macOS) retain dangling references. A subsequent session-change event (Windows) or system shutdown (macOS) dereferences freed memory, which may lead to a crash or memory corruption.

All apps that access powerMonitor events (suspend, resume, lock-screen, etc.) are potentially affected. The issue is not directly renderer-controllable.

Workarounds There are no app side workarounds, you must update to a patched version of Electron.

Fixed Versions 41.0.0-beta.8 40.8.0 39.8.1 38.8.6

For more information If there are any questions or comments about this advisory, please email security@electronjs.org

1 / 2
Source: GitHub
First published (updated )
Severity
9.8
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Impact The nodeIntegrationInWorker webPreference was not correctly scoped in all configurations. In certain process-sharing scenarios, workers spawned in frames configured with nodeIntegrationInWorker: false could still receive Node.js integration.

Apps are only affected if they enable nodeIntegrationInWorker. Apps that do not use nodeIntegrationInWorker are not affected.

Workarounds Avoid enabling nodeIntegrationInWorker in apps that also open child windows or embed content with differing webPreferences.

Fixed Versions 41.0.0 40.8.4 39.8.4 38.8.6

For more information If there are any questions or comments about this advisory, please email security@electronjs.org

1 / 2
Source: GitHub
First published (updated )
Severity
8.8
Use After Free
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Impact Apps that register an asynchronous session.setPermissionRequestHandler() may be vulnerable to a use-after-free when handling fullscreen, pointer-lock, or keyboard-lock permission requests. If the requesting frame navigates or the window closes while the permission handler is pending, invoking the stored callback dereferences freed memory, which may lead to a crash or memory corruption.

Apps that do not set a permission request handler, or whose handler responds synchronously, are not affected.

Workarounds Respond to permission requests synchronously, or deny fullscreen, pointer-lock, and keyboard-lock requests if an asynchronous flow is required.

Fixed Versions 41.0.0-beta.8 40.7.0 39.8.0 38.8.6

For more information If there are any questions or comments about this advisory, please email security@electronjs.org

1 / 2
Source: GitHub
First published (updated )
Severity
7.8
OS Command Injection
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L

Impact On macOS, app.moveToApplicationsFolder() used an AppleScript fallback path that did not properly handle certain characters in the application bundle path. Under specific conditions, a crafted launch path could lead to arbitrary AppleScript execution when the user accepted the move-to-Applications prompt.

Apps are only affected if they call app.moveToApplicationsFolder(). Apps that do not use this API are not affected.

Workarounds There are no app side workarounds, developers must update to a patched version of Electron.

Fixed Versions 41.0.0-beta.8 40.8.0 39.8.1 38.8.6

For more information If there are any questions or comments about this advisory, please email security@electronjs.org

1 / 2
Source: GitHub
First published (updated )
Severity
5.4
AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Impact When an iframe requests fullscreen, pointerLock, keyboardLock, openExternal, or media permissions, the origin passed to session.setPermissionRequestHandler() was the top-level page's origin rather than the requesting iframe's origin. Apps that grant permissions based on the origin parameter or webContents.getURL() may inadvertently grant permissions to embedded third-party content.

The correct requesting URL remains available via details.requestingUrl. Apps that already check details.requestingUrl are not affected.

Workarounds In your setPermissionRequestHandler, inspect details.requestingUrl rather than the origin parameter or webContents.getURL() when deciding whether to grant fullscreen, pointerLock, keyboardLock, openExternal, or media permissions.

Fixed Versions 41.0.0 40.8.1 39.8.1 38.8.6

For more information If there are any questions or comments about this advisory, please email security@electronjs.org

1 / 2
Source: GitHub
First published (updated )
Severity
6.5
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N

Impact A service worker running in a session could spoof reply messages on the internal IPC channel used by webContents.executeJavaScript() and related methods, causing the main-process promise to resolve with attacker-controlled data.

Apps are only affected if they have service workers registered and use the result of webContents.executeJavaScript() (or webFrameMain.executeJavaScript()) in security-sensitive decisions.

Workarounds Do not trust the return value of webContents.executeJavaScript() for security decisions. Use dedicated, validated IPC channels for security-relevant communication with renderers.

Fixed Versions 41.0.0 40.8.1 39.8.1 38.8.6

For more information If there are any questions or comments about this advisory, please email security@electronjs.org

1 / 2
Source: GitHub
First published (updated )
Severity
8.8
AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Impact An undocumented commandLineSwitches webPreference allowed arbitrary switches to be appended to the renderer process command line. Apps that construct webPreferences by spreading untrusted configuration objects may inadvertently allow an attacker to inject switches that disable renderer sandboxing or web security controls.

Apps are only affected if they construct webPreferences from external or untrusted input without an allowlist. Apps that use a fixed, hardcoded webPreferences object are not affected.

Workarounds Do not spread untrusted input into webPreferences. Use an explicit allowlist of permitted preference keys when constructing BrowserWindow or webContents options from external configuration.

Fixed Versions 41.0.0-beta.8 40.7.0 39.8.0 38.8.6

For more information If there are any questions or comments about this advisory, send an email to security@electronjs.org

1 / 2
Source: GitHub
First published (updated )
Severity
8.1
Use After Free
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Impact Apps that use offscreen rendering and allow child windows via window.open() may be vulnerable to a use-after-free. If the parent offscreen WebContents is destroyed while a child window remains open, subsequent paint frames on the child dereference freed memory, which may lead to a crash or memory corruption.

Apps are only affected if they use offscreen rendering (webPreferences.offscreen: true) and their setWindowOpenHandler permits child windows. Apps that do not use offscreen rendering, or that deny child windows, are not affected.

Workarounds Deny child window creation from offscreen renderers in your setWindowOpenHandler, or ensure child windows are closed before the parent is destroyed.

Fixed Versions 41.0.0 40.7.0 39.8.1

For more information If there are any questions or comments about this advisory, please email security@electronjs.org

1 / 2
Source: GitHub
First published (updated )
Severity
7.8
AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L

Impact On Windows, app.setLoginItemSettings({openAtLogin: true}) wrote the executable path to the Run registry key without quoting. If the app is installed to a path containing spaces, an attacker with write access to an ancestor directory may be able to cause a different executable to run at login instead of the intended app.

On a default Windows install, standard system directories are protected against writes by standard users, so exploitation typically requires a non-standard install location.

Workarounds Install the application to a path without spaces, or to a location where all ancestor directories are protected against unauthorized writes.

Fixed Versions 41.0.0-beta.8 40.8.0 39.8.1 38.8.6

For more information If there are any questions or comments about this advisory, send an email to security@electronjs.org

1 / 2
Source: GitHub
First published (updated )
Severity
8.8
Use After Free
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L

Impact Apps that allow downloads and programmatically destroy sessions may be vulnerable to a use-after-free. If a session is torn down while a native save-file dialog is open for a download, dismissing the dialog dereferences freed memory, which may lead to a crash or memory corruption.

Apps that do not destroy sessions at runtime, or that do not permit downloads, are not affected.

Workarounds Avoid destroying sessions while a download save dialog may be open. Cancel pending downloads before session teardown.

Fixed Versions 41.0.0-beta.7 40.7.0 39.8.0 38.8.6

For more information If there are any questions or comments about this advisory, please email security@electronjs.org

1 / 2
Source: GitHub
First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203