npmWorst: Critical79 advisories

electron: known vulnerabilities

electron has 79 reviewed security advisories in the GitHub Advisory Database — 3 critical, 27 high, 36 moderate, 13 low. The most recent was published 2026-10-23. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the electron versions running across your servers, containers and images, and ranks what to patch first.

How to fix electron

Upgrade electron to a release at or above the fixed version shown for each advisory below. For npm:

npm install electron@42.11.16 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (79)

Electron: Mitigation for compromised eMudhra intermediate certificates High 7.4 CWE-299 — Affected: before 42.11.16. Fixed in 42.11.16. Published 2026-10-23. GHSA-jr5w-w6x2-84p9 · CVE-2026-115570
Electron: SameSite cookie restrictions are not applied to windows opened from links Moderate 4.2 CWE-352 — Affected: before 42.11.3. Fixed in 42.11.3. Published 2026-10-21. GHSA-2p8c-gr87-2676 · CVE-2026-113796
Electron: Frame subscription trusts GPU-supplied frame geometry Low 3.9 CWE-125 — Affected: from 45.0.0-alpha.1 up to 45.0.0-alpha.9. Fixed in 45.0.0-alpha.9. Published 2026-10-21. GHSA-3qxv-5xgr-q7w9 · CVE-2026-114122
Electron: Extension tabs.query returns tab URLs and titles without the tabs permission Low 3.1 CWE-862 — Affected: before 42.11.1. Fixed in 42.11.1. Published 2026-10-21. GHSA-98mx-cjp9-gchm · CVE-2026-113797
Electron: openExternal permission requests can be attributed to the wrong origin Moderate 5.4 CWE-346 — Affected: from 45.0.0-alpha.1 up to 45.0.0-alpha.5. Fixed in 45.0.0-alpha.5. Published 2026-10-21. GHSA-997q-gvvc-jwmx · CVE-2026-114121
Electron: HID and USB permission checks can be attributed to the wrong origin Moderate 5.4 CWE-346 — Affected: before 42.11.3. Fixed in 42.11.3. Published 2026-10-21. GHSA-fw47-9c62-h3vw · CVE-2026-113800
Electron: Off-screen rendering on macOS trusts GPU-supplied frame geometry Low 3.9 CWE-125 — Affected: from 45.0.0-alpha.1 up to 45.0.0-alpha.9. Fixed in 45.0.0-alpha.9. Published 2026-10-21. GHSA-h3v5-h239-pg29 · CVE-2026-114124
Electron: Pointer lock permission requests can be attributed to the wrong frame Moderate 5.4 CWE-346 — Affected: before 42.11.9. Fixed in 42.11.9. Published 2026-10-21. GHSA-x562-297c-g43g · CVE-2026-113798
Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions High 8.3 CWE-1188 CWE-269 — Affected: from 44.0.0-alpha.1 up to 44.0.0-beta.5. Fixed in 44.0.0-beta.5. Published 2026-09-29. GHSA-9qh4-3jw8-366w · CVE-2026-102676
Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions High 8.2 CWE-266 CWE-693 — Affected: from 44.0.0-alpha.1 up to 44.0.0-beta.5. Fixed in 44.0.0-beta.5. Published 2026-09-29. GHSA-gr2m-v5gq-v685 · CVE-2026-102674
Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab High 8.2 CWE-346 CWE-693 — Affected: from 43.0.0-alpha.1 up to 43.0.0. Fixed in 43.0.0. Published 2026-09-29. GHSA-hq2x-r82h-9wj4 · CVE-2026-102673
Electron: File and HTTP protocol handlers allow cross-origin reads without corsEnabled High 7.4 CWE-346 — Affected: from 44.0.0-alpha.1 up to 44.0.0-beta.5. Fixed in 44.0.0-beta.5. Published 2026-09-29. GHSA-j84w-jfhq-vhvj · CVE-2026-102675
Electron: Sandboxed preload code cache can be poisoned by a compromised renderer High 7.8 CWE-20 CWE-345 — Affected: from 44.0.0-alpha.1 up to 44.0.0-beta.6. Fixed in 44.0.0-beta.6. Published 2026-09-29. GHSA-qmv3-fv6v-rmhq · CVE-2026-102677
Electron: Local race condition in Squirrel.Mac update installation on macOS Moderate 6.7 CWE-367 — Affected: from 42.0.0-alpha.1 up to 42.0.0-beta.2. Fixed in 42.0.0-beta.2. Published 2026-09-29. GHSA-vv43-5jgx-7qv8 · CVE-2026-102672
Electron: DevTools JavaScript Injection via Unsanitized Dock State Parameter Moderate 5.7 CWE-116 CWE-94 — Affected: from 42.0.0-alpha.1 up to 42.0.0-beta.1. Fixed in 42.0.0-beta.1. Published 2026-08-05. GHSA-4f78-qhmw-8j8m · CVE-2026-70609
Electron: shell.openPath path validation bypass via embedded null byte Moderate 6.0 CWE-158 CWE-20 — Affected: before 39.8.6. Fixed in 39.8.6. Published 2026-08-05. GHSA-5c9j-mhmv-5xgx · CVE-2026-70603
Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path High 7.2 CWE-1021 CWE-693 — Affected: before 39.8.10. Fixed in 39.8.10. Published 2026-08-05. GHSA-9f4c-93c8-jc8g · CVE-2026-70608
Electron: Permission Check Handler Receives Main Frame Origin Instead of Requesting Iframe Origin Moderate 5.9 CWE-346 — Affected: from 42.0.0-alpha.1 up to 42.0.0-beta.1. Fixed in 42.0.0-beta.1. Published 2026-08-05. GHSA-9pf5-hg6p-4pwp · CVE-2026-70599
Electron: DevTools embedder handler executes arbitrary files via shell open Moderate 6.9 CWE-78 — Affected: from 42.0.0-alpha.1 up to 42.0.0-beta.3. Fixed in 42.0.0-beta.3. Published 2026-08-05. GHSA-f2r8-jv7c-xqmp · CVE-2026-70611
Electron: contextBridge object copy honors prototype setters Moderate 5.4 CWE-1321 — Affected: from 42.0.0-alpha.1 up to 42.0.0-beta.4. Fixed in 42.0.0-beta.4. Published 2026-08-05. GHSA-ff2p-hmqr-hxm4 · CVE-2026-70610
Electron: Context isolation bypass via Function.prototype.bind hijack High 7.5 CWE-693 — Affected: from 42.0.0-alpha.1 up to 42.0.0-beta.5. Fixed in 42.0.0-beta.5. Published 2026-08-05. GHSA-h7rp-cf8h-j98x · CVE-2026-70601
Electron: Parent process code-sign check is spoofable Moderate 6.3 CWE-367 — Affected: from 42.0.0-alpha.1 up to 42.0.0-beta.3. Fixed in 42.0.0-beta.3. Published 2026-08-05. GHSA-jm7p-cc5g-qwxx · CVE-2026-70597
Electron: Extension tab APIs operate across session boundaries Moderate 6.6 CWE-284 — Affected: from 42.0.0-alpha.1 up to 42.0.0-beta.3. Fixed in 42.0.0-beta.3. Published 2026-08-05. GHSA-m55f-7gqj-fr98 · CVE-2026-70602
Electron: Sandboxed iframes can launch external protocol handlers Moderate 5.4 CWE-284 — Affected: from 42.0.0-alpha.1 up to 42.0.0-beta.3. Fixed in 42.0.0-beta.3. Published 2026-08-05. GHSA-p2rr-rvmm-c5fp · CVE-2026-70612
Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size Low 3.9 CWE-125 — Affected: from 42.0.0-alpha.1 up to 42.0.0-beta.3. Fixed in 42.0.0-beta.3. Published 2026-08-05. GHSA-pfmc-3mgc-p6fp · CVE-2026-70598
Electron: ProtocolResponse.url reuses the default session cache instead of the registering session Moderate 5.9 CWE-668 — Affected: from 40.0.0-alpha.1 up to 40.10.6. Fixed in 40.10.6. Published 2026-08-05. GHSA-r4w5-6pfg-jxp5 · CVE-2026-70606
Electron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin reads High 7.4 CWE-942 — Affected: before 39.8.10. Fixed in 39.8.10. Published 2026-08-05. GHSA-v3j7-r9gq-3gjw · CVE-2026-70604
Electron: HTTP redirect followed into local file loader Moderate 5.9 CWE-918 — Affected: from 42.0.0-alpha.1 up to 42.0.0-beta.3. Fixed in 42.0.0-beta.3. Published 2026-08-05. GHSA-v64r-4m7r-3mvq · CVE-2026-70605
Electron: window.open features string controls some window options considered privileged Moderate 5.3 CWE-20 — Affected: from 42.0.0-alpha.1 up to 42.0.0-beta.3. Fixed in 42.0.0-beta.3. Published 2026-08-05. GHSA-v93f-fgjr-hjrj · CVE-2026-70607
Electron: Cross-origin iframe can position native autofill popup Low 3.1 CWE-1021 — Affected: from 42.0.0-alpha.1 up to 42.0.0-beta.3. Fixed in 42.0.0-beta.3. Published 2026-08-05. GHSA-x8rc-wpg4-grpf · CVE-2026-70600
Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow Critical CWE-120 — Affected: from 42.3.1 up to 42.3.3. Fixed in 42.3.3. Published 2026-06-23. GHSA-q6m5-f73j-m9mc · CVE-2026-54257
Electron: Crash in clipboard.readImage() on malformed clipboard image data Low 2.8 CWE-476 — Affected: from 42.0.0-alpha.1 up to 42.0.0-alpha.5. Fixed in 42.0.0-alpha.5. Published 2026-04-07. GHSA-f37v-82c4-4x64 · CVE-2026-34781
Electron: Named window.open targets not scoped to the opener's browsing context Moderate 6.0 CWE-668 — Affected: from 42.0.0-alpha.1 up to 42.0.0-alpha.5. Fixed in 42.0.0-alpha.5. Published 2026-04-07. GHSA-f3pv-wv63-48x8 · CVE-2026-34765
Electron: Use-after-free in offscreen shared texture release() callback Low 2.3 CWE-416 — Affected: from 42.0.0-alpha.1 up to 42.0.0-alpha.5. Fixed in 42.0.0-alpha.5. Published 2026-04-06. GHSA-8x5q-pvf5-64mp · CVE-2026-34764
Electron: Out-of-bounds read in second-instance IPC on macOS and Linux Moderate 5.3 CWE-125 — Affected: from 41.0.0-alpha.1 up to 41.0.0. Fixed in 41.0.0. Published 2026-04-04. GHSA-3c8v-cfp5-9885 · CVE-2026-34776
Electron: HTTP Response Header Injection in custom protocol handlers and webRequest Moderate 5.9 CWE-113 CWE-74 — Affected: from 41.0.0-alpha.1 up to 41.0.3. Fixed in 41.0.3. Published 2026-04-04. GHSA-4p4r-m79c-wq3v · CVE-2026-34767
Electron: Use-after-free in offscreen child window paint callback High 8.1 CWE-416 — Affected: from 41.0.0-alpha.1 up to 41.0.0. Fixed in 41.0.0. Published 2026-04-04. GHSA-532v-xpq5-8h95 · CVE-2026-34774
Electron: AppleScript injection in app.moveToApplicationsFolder on macOS Moderate 6.5 CWE-78 — Affected: from 41.0.0-alpha.1 up to 41.0.0-beta.8. Fixed in 41.0.0-beta.8. Published 2026-04-04. GHSA-5rqw-r77c-jp79 · CVE-2026-34779
Electron: Use-after-free in WebContents fullscreen, pointer-lock, and keyboard-lock permission callbacks High 7.5 CWE-416 — Affected: from 41.0.0-alpha.1 up to 41.0.0-beta.8. Fixed in 41.0.0-beta.8. Published 2026-04-04. GHSA-8337-3p73-46f4 · CVE-2026-34771
Electron: USB device selection not validated against filtered device list Low 3.3 CWE-862 — Affected: from 41.0.0-alpha.1 up to 41.0.0-beta.8. Fixed in 41.0.0-beta.8. Published 2026-04-04. GHSA-9899-m83m-qhpj · CVE-2026-34766
Electron: Use-after-free in download save dialog callback Moderate 5.8 CWE-416 — Affected: from 41.0.0-alpha.1 up to 41.0.0-beta.7. Fixed in 41.0.0-beta.7. Published 2026-04-04. GHSA-9w97-2464-8783 · CVE-2026-34772
Electron: Renderer command-line switch injection via undocumented commandLineSwitches webPreference High 7.7 CWE-88 CWE-912 — Affected: from 41.0.0-alpha.1 up to 41.0.0-beta.8. Fixed in 41.0.0-beta.8. Published 2026-04-04. GHSA-9wfr-w7mm-pc7f · CVE-2026-34769
Electron: Context Isolation bypass via contextBridge VideoFrame transfer High 8.3 CWE-1188 CWE-668 — Affected: from 41.0.0-alpha.1 up to 41.0.0-beta.8. Fixed in 41.0.0-beta.8. Published 2026-04-04. GHSA-jfqg-hf23-qpw2 · CVE-2026-34780
Electron: Unquoted executable path in app.setLoginItemSettings on Windows Low 3.9 CWE-428 — Affected: from 41.0.0-alpha.1 up to 41.0.0-beta.8. Fixed in 41.0.0-beta.8. Published 2026-04-04. GHSA-jfqx-fxh3-c62j · CVE-2026-34768
Electron: Use-after-free in PowerMonitor on Windows and macOS High 7.0 CWE-416 — Affected: from 41.0.0-alpha.1 up to 41.0.0-beta.8. Fixed in 41.0.0-beta.8. Published 2026-04-04. GHSA-jjp3-mq3x-295m · CVE-2026-34770
Electron: Registry key path injection in app.setAsDefaultProtocolClient on Windows Moderate 4.7 CWE-20 CWE-74 — Affected: from 41.0.0-alpha.1 up to 41.0.0. Fixed in 41.0.0. Published 2026-04-04. GHSA-mwmh-mq4g-g6gr · CVE-2026-34773
Electron: Incorrect origin passed to permission request handler for iframe requests Moderate 5.4 CWE-346 — Affected: from 41.0.0-alpha.1 up to 41.0.0. Fixed in 41.0.0. Published 2026-04-04. GHSA-r5p7-gp4j-qhrx · CVE-2026-34777
Electron: Service worker can spoof executeJavaScript IPC replies Moderate 5.9 CWE-290 CWE-345 — Affected: from 41.0.0-alpha.1 up to 41.0.0. Fixed in 41.0.0. Published 2026-04-04. GHSA-xj5x-m3f3-5x3h · CVE-2026-34778
Electron: nodeIntegrationInWorker not correctly scoped in shared renderer processes Moderate 6.8 CWE-653 — Affected: from 41.0.0-alpha.1 up to 41.0.0. Fixed in 41.0.0. Published 2026-04-04. GHSA-xwr5-m59h-vwqr · CVE-2026-34775
Electron has ASAR Integrity Bypass via resource modification Moderate 6.1 CWE-829 CWE-94 — Affected: from 38.0.0-alpha.1 up to 38.0.0-beta.6. Fixed in 38.0.0-beta.6. Published 2025-09-04. GHSA-vmqv-hx8q-j7mg · CVE-2025-55305
Electron vulnerable to Heap Buffer Overflow in NativeImage Moderate CWE-122 — Affected: from 30.0.0-alpha.1 up to 30.0.3. Fixed in 30.0.3. Published 2025-07-01. GHSA-6r2x-8pq8-9489 · CVE-2024-46993
electron ASAR Integrity bypass by just modifying the content High 7.8 CWE-354 — Affected: from 31.0.0-alpha.1 up to 31.0.0-beta.1. Fixed in 31.0.0-beta.1. Published 2025-07-01. GHSA-xw5q-g62x-2qjc · CVE-2024-46992
ASAR Integrity bypass via filetype confusion in electron Moderate 6.1 CWE-345 — Affected: 23.0.0-alpha.1 through 23.3.13. No fixed release is listed. Published 2023-12-01. GHSA-7m48-wc93-9g85 · CVE-2023-44402
Electron affected by libvpx's heap buffer overflow in vp8 encoding High 8.8 CWE-787 — Affected: from 27.0.0-alpha.1 up to 27.0.0-beta.8. Fixed in 27.0.0-beta.8. Published 2023-09-28. GHSA-qqvq-6xgj-jw8g · CVE-2023-5217 · In CISA KEV →
Electron vulnerable to out-of-package code execution when launched with arbitrary cwd Moderate 6.1 CWE-94 — Affected: from 26.0.0-alpha.1 up to 26.0.0-beta.13. Fixed in 26.0.0-beta.13. Published 2023-09-06. GHSA-7x97-j373-85x5 · CVE-2023-39956
Electron's Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled High 7.5 CWE-670 — Affected: from 23.0.0-alpha.1 up to 23.0.0-alpha.2. Fixed in 23.0.0-alpha.2. Published 2023-09-06. GHSA-gxh7-wv9q-fwfr · CVE-2023-23623
Electron context isolation bypass via nested unserializable return value Moderate 6.0 CWE-754 — Affected: from 25.0.0-alpha.1 up to 25.0.0-alpha.2. Fixed in 25.0.0-alpha.2. Published 2023-09-06. GHSA-p7v2-p9m8-qqg7 · CVE-2023-29198
Exfiltration of hashed SMB credentials on Windows via file:// redirect Moderate 5.4 CWE-200 CWE-522 — Affected: from 19.0.0-beta.1 up to 19.0.11. Fixed in 19.0.11. Published 2022-11-08. GHSA-p2jh-44qj-pf2v · CVE-2022-36077
AutoUpdater module fails to validate certain nested components of the bundle Moderate 6.6 CWE-20 — Affected: from 18.0.0-beta.1 up to 18.0.0-beta.6. Fixed in 18.0.0-beta.6. Published 2022-06-13. GHSA-77xc-hjv8-ww97 · CVE-2022-29257
Compromised child renderer processes could obtain IPC access without nodeIntegrationInSubFrames being enabled Low 2.2 CWE-668 — Affected: from 18.0.0-beta.1 up to 18.0.0-beta.6. Fixed in 18.0.0-beta.6. Published 2022-06-13. GHSA-mq8j-3h7h-p8g7 · CVE-2022-29247
Renderers can obtain access to random bluetooth device without permission in Electron Low 3.4 CWE-668 CWE-862 — Affected: from 17.0.0-alpha.1 up to 17.0.0-alpha.6. Fixed in 17.0.0-alpha.6. Published 2022-03-22. GHSA-3p22-ghq8-v749 · CVE-2022-21718
Electron's sandboxed renderers can obtain thumbnails of arbitrary files through the nativeImage API Moderate 6.8 CWE-668 CWE-862 — Affected: from 13.0.0 up to 13.3.0. Fixed in 13.3.0. Published 2021-10-12. GHSA-mpjm-v997-c4h4 · CVE-2021-39184
IPC messages delivered to the wrong frame in Electron Moderate 5.4 CWE-668 — Affected: from 11.0.0 up to 11.1.0. Fixed in 11.1.0. Published 2021-01-28. GHSA-hvf8-h2qh-37m9 · CVE-2020-26272
Unpreventable top-level navigation High 7.5 CWE-20 CWE-693 — Affected: from 10.0.0-beta.0 up to 10.0.1. Fixed in 10.0.1. Published 2020-10-06. GHSA-2q4g-w47c-4674 · CVE-2020-15174
Context isolation bypass in Electron Low 5.6 CWE-668 CWE-693 — Affected: from 11.0.0-beta.0 up to 11.0.0-beta.6. Fixed in 11.0.0-beta.6. Published 2020-10-06. GHSA-56pc-6jqp-xqj8 · CVE-2020-15215
Context isolation bypass via Promise in Electron Low 6.8 CWE-501 — Affected: from 8.0.0 up to 8.2.4. Fixed in 8.2.4. Published 2020-07-07. GHSA-6vrv-94jv-crrg · CVE-2020-15096
Arbitrary file read via window-open IPC in Electron Moderate 6.8 CWE-552 — Affected: from 8.0.0 up to 8.2.4. Fixed in 8.2.4. Published 2020-07-07. GHSA-f9mq-jph6-9mhm · CVE-2020-4075
Context isolation bypass via contextBridge in Electron High 7.7 CWE-501 — Affected: from 8.0.0 up to 8.2.4. Fixed in 8.2.4. Published 2020-07-07. GHSA-h9jc-284h-533g · CVE-2020-4077
Context isolation bypass via leaked cross-context objects in Electron High 7.8 CWE-501 — Affected: from 8.0.0 up to 8.2.4. Fixed in 8.2.4. Published 2020-07-07. GHSA-m93v-9qjc-3g79 · CVE-2020-4076
Electron webPreferences vulnerability can be used to perform remote code execution High 8.1 CWE-1188 — Affected: from 3.0.0-beta.1 up to 3.0.0-beta.7. Fixed in 3.0.0-beta.7. Published 2018-08-23. GHSA-hv9c-qwqg-qj3v · CVE-2018-15685
Chromium Remote Code Execution in electron Critical 9.8 CWE-94 — Affected: from 1.7.0 up to 1.7.8. Fixed in 1.7.8. Published 2018-07-24. GHSA-4w88-rjj3-x7wp · CVE-2017-16151
Electron Vulnerable to Code Execution by Re-Enabling Node.js Integration High 8.1 CWE-20 — Affected: from 2.0.0-beta.1 up to 2.0.0-beta.5. Fixed in 2.0.0-beta.5. Published 2018-03-26. GHSA-8xwg-wv7v-4vqp · CVE-2018-1000136
Electron protocol handler browser vulnerable to Command Injection High 8.8 CWE-78 — Affected: before 1.8.2-beta5. Fixed in 1.8.2-beta5. Published 2018-03-26. GHSA-fjqr-fx3f-g4rv · CVE-2018-1000118
Remote Code Execution in electron High 8.8 CWE-78 — Affected: from 1.8.0 up to 1.8.2-beta.4. Fixed in 1.8.2-beta.4. Published 2018-01-23. GHSA-w222-53c6-c86p · CVE-2018-1000006
Electron vulnerable to URL spoofing via PDFium Moderate 4.3 CWE-290 CWE-345 — Affected: from 1.7.0 up to 1.7.6. Fixed in 1.7.6. Published 2018-01-02. GHSA-6h98-cf9g-vmg2 · CVE-2017-1000424
High severity vulnerability that affects electron High 7.8 CWE-426 — Affected: before 0.33.5. Fixed in 0.33.5. Published 2017-10-24. GHSA-gvcj-pfq2-wxj7 · CVE-2016-1202
Electron vulnerable to remote command execution High 8.1 CWE-78 — Affected: before 1.6.8. Fixed in 1.6.8. Published 2017-08-06. GHSA-7fv9-m79r-j9x8 · CVE-2017-12581

Find electron across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.