electron

Ecosystem: npm

Downloads: 39.38 Mln

Vulnerabilities from the last (months)
  • 3CriticalAffects 4 versions
  • 27HighAffects 85 versions
  • 0MediumAffects 0 versions
  • 36ModerateAffects 137 versions
  • 13LowAffects 52 versions
Severity distribution (all time)
79vulnerabilities
  • Critical3 (3.8%)
  • High27 (34.2%)
  • Medium0 (0.0%)
  • Moderate36 (45.6%)
  • Low13 (16.5%)

Monthly breakdown

  • Critical
  • High
  • Medium
  • Moderate
  • Low
  • 8 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 4
    • Low: 3
  • 6 vulnerabilities
    • Critical: 0
    • High: 5
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 16 vulnerabilities
    • Critical: 0
    • High: 3
    • Medium: 0
    • Moderate: 11
    • Low: 2
  • 1 vulnerabilities
    • Critical: 1
    • High: 0
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 18 vulnerabilities
    • Critical: 0
    • High: 5
    • Medium: 0
    • Moderate: 9
    • Low: 4
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 2 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 5 vulnerabilities
    • Critical: 0
    • High: 3
    • Medium: 0
    • Moderate: 2
    • Low: 0
  • 2 vulnerabilities
    • Critical: 1
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 2 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 1
  • 2 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 0
    • Low: 1
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 2 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 1
  • 4 vulnerabilities
    • Critical: 0
    • High: 2
    • Medium: 0
    • Moderate: 1
    • Low: 1
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 1
    • High: 0
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 2 vulnerabilities
    • Critical: 0
    • High: 2
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0

Vulnerabilities (79)

Known vulnerabilities affecting electron, based on data from OSV.

Vulnerabilities affecting electron
IDSeveritySummaryAffected versionsPublishedSource
GHSA-jr5w-w6x2-84p9HighElectron: Mitigation for compromised eMudhra intermediate certificates### 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`, `https` and `fetch`. 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 miti
  • >= 45.0.0-alpha.1, < 45.0.0-beta.6
  • >= 44.0.0-alpha.1, < 44.9.1
  • >= 43.0.0-alpha.1, < 43.8.1
  • < 42.11.16
GitHub (opens in a new tab)
GHSA-2p8c-gr87-2676ModerateElectron: SameSite cookie restrictions are not applied to windows opened from links### 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=Strict` cookies were sent and `Sec-Fetch-Site` did 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 `setWindowOpenHand
  • >= 45.0.0-alpha.1, < 45.0.0-alpha.6
  • >= 44.0.0-alpha.1, < 44.3.0
  • >= 43.0.0-alpha.1, < 43.7.0
  • < 42.11.3
GitHub (opens in a new tab)
GHSA-3qxv-5xgr-q7w9LowElectron: Frame subscription trusts GPU-supplied frame geometry### Impact Frame data received from the GPU process for `webContents.beginFrameSubscription` 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 the captured frame images, disclosing memory or crashing the app. Apps are only affected if they use `webContents.beginFrameSubscription` and 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 versi
  • < 42.11.6
  • >= 43.0.0-alpha.1, < 43.7.3
  • >= 44.0.0-alpha.1, < 44.4.3
  • >= 45.0.0-alpha.1, < 45.0.0-alpha.9
GitHub (opens in a new tab)
GHSA-98mx-cjp9-gchmLowElectron: Extension tabs.query returns tab URLs and titles without the tabs permission### Impact `chrome.tabs.query()` returned each tab's `url` and `title` to extensions that held neither the `tabs` permission 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.4` * `44.1.1` *
  • >= 45.0.0-alpha.1, < 45.0.0-alpha.4
  • >= 44.0.0-alpha.1, < 44.1.1
  • >= 43.0.0-alpha.1, < 43.5.1
  • < 42.11.1
GitHub (opens in a new tab)
GHSA-997q-gvvc-jwmxModerateElectron: openExternal permission requests can be attributed to the wrong origin### Impact Requests to open external protocol URLs could be attributed to a document other than the one that asked for them, so the `requestingUrl` passed to `session.setPermissionRequestHandler` was 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 `openExternal` based on the requesting origin and let untrusted content open or navigate windows. Apps whose permission handler denies `openExternal` for untrusted content are not affected.
  • < 42.11.3
  • >= 43.0.0-alpha.1, < 43.7.0
  • >= 44.0.0-alpha.1, < 44.3.0
  • >= 45.0.0-alpha.1, < 45.0.0-alpha.5
GitHub (opens in a new tab)
GHSA-h3v5-h239-pg29LowElectron: Off-screen rendering on macOS trusts GPU-supplied frame geometry### 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 `paint` event 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. ### Wor
  • < 42.11.6
  • >= 43.0.0-alpha.1, < 43.7.3
  • >= 44.0.0-alpha.1, < 44.4.3
  • >= 45.0.0-alpha.1, < 45.0.0-alpha.9
GitHub (opens in a new tab)
GHSA-x562-297c-g43gModerateElectron: Pointer lock permission requests can be attributed to the wrong frame### Impact For `pointerLock` permission requests made from some cross-origin iframes, `session.setPermissionRequestHandler()` was given the top-level frame's `requestingUrl` and `isMainFrame` instead 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 `pointerLock` requests by origin in `setPermissionRequestHandler`. Apps that do not embed untrusted content, or that deny `pointerLock` for it, are not affected.
  • >= 45.0.0-alpha.1, < 45.0.0-alpha.13
  • >= 44.0.0-alpha.1, < 44.5.0
  • >= 43.0.0-alpha.1, < 43.7.6
  • < 42.11.9
GitHub (opens in a new tab)
GHSA-fw47-9c62-h3vwModerateElectron: HID and USB permission checks can be attributed to the wrong origin### Impact For `hid` and `usb` permission checks made from an iframe, `session.setPermissionCheckHandler` was 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 `setPermissionCheckHandler` with origin-based logic for `hid` or `usb` and embed cross-origin iframes with `allow="hid"` or `allow="usb"`. Apps that don't delegate those features to untrusted iframes are not affected. ### Workarounds Don't add `allow="hi
  • >= 45.0.0-alpha.1, < 45.0.0-alpha.5
  • >= 44.0.0-alpha.1, < 44.3.0
  • >= 43.0.0-alpha.1, < 43.7.0
  • < 42.11.3
GitHub (opens in a new tab)
GHSA-9qh4-3jw8-366wHighElectron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions### 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 `nodeIntegrationInWorker` from the guest preferences in a `will-attach-webview` handler, or do not enable the `<webview>` tag when loading untrusted content. ### Fixed Versions * `44.0.0-beta.5`
  • < 41.10.6
  • >= 42.0.0-alpha.1, < 42.9.2
  • >= 43.0.0-alpha.1, < 43.4.1
  • >= 44.0.0-alpha.1, < 44.0.0-beta.5
GitHub (opens in a new tab)
GHSA-gr2m-v5gq-v685HighElectron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions### Impact Windows opened from a sandboxed top-level document did not inherit that document's HTML `sandbox` restrictions, 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 `setWindowOpenHandler` are not affected. ### Workarounds Return `{ action: 'deny' }` from `setWindowOpenHandler` for windows opened by untrusted content. ##
  • < 41.10.6
  • >= 42.0.0-alpha.1, < 42.9.2
  • >= 43.0.0-alpha.1, < 43.4.1
  • >= 44.0.0-alpha.1, < 44.0.0-beta.5
GitHub (opens in a new tab)
  • GHSA-jr5w-w6x2-84p9High
    Electron: Mitigation for compromised eMudhra intermediate certificates
    • >= 45.0.0-alpha.1, < 45.0.0-beta.6
    • >= 44.0.0-alpha.1, < 44.9.1
    • +2 more
    Affected versions:
    • >= 45.0.0-alpha.1, < 45.0.0-beta.6
    • >= 44.0.0-alpha.1, < 44.9.1
    • >= 43.0.0-alpha.1, < 43.8.1
    • < 42.11.16

    ### 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`, `https` and `fetch`. 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 miti

    CVE: CVE-2026-115570

  • GHSA-2p8c-gr87-2676Moderate
    Electron: SameSite cookie restrictions are not applied to windows opened from links
    • >= 45.0.0-alpha.1, < 45.0.0-alpha.6
    • >= 44.0.0-alpha.1, < 44.3.0
    • +2 more
    Affected versions:
    • >= 45.0.0-alpha.1, < 45.0.0-alpha.6
    • >= 44.0.0-alpha.1, < 44.3.0
    • >= 43.0.0-alpha.1, < 43.7.0
    • < 42.11.3

    ### 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=Strict` cookies were sent and `Sec-Fetch-Site` did 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 `setWindowOpenHand

    CVE: CVE-2026-113796

  • GHSA-3qxv-5xgr-q7w9Low
    Electron: Frame subscription trusts GPU-supplied frame geometry
    • < 42.11.6
    • >= 43.0.0-alpha.1, < 43.7.3
    • +2 more
    Affected versions:
    • < 42.11.6
    • >= 43.0.0-alpha.1, < 43.7.3
    • >= 44.0.0-alpha.1, < 44.4.3
    • >= 45.0.0-alpha.1, < 45.0.0-alpha.9

    ### Impact Frame data received from the GPU process for `webContents.beginFrameSubscription` 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 the captured frame images, disclosing memory or crashing the app. Apps are only affected if they use `webContents.beginFrameSubscription` and 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 versi

    CVE: CVE-2026-114122

  • GHSA-98mx-cjp9-gchmLow
    Electron: Extension tabs.query returns tab URLs and titles without the tabs permission
    • >= 45.0.0-alpha.1, < 45.0.0-alpha.4
    • >= 44.0.0-alpha.1, < 44.1.1
    • +2 more
    Affected versions:
    • >= 45.0.0-alpha.1, < 45.0.0-alpha.4
    • >= 44.0.0-alpha.1, < 44.1.1
    • >= 43.0.0-alpha.1, < 43.5.1
    • < 42.11.1

    ### Impact `chrome.tabs.query()` returned each tab's `url` and `title` to extensions that held neither the `tabs` permission 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.4` * `44.1.1` *

    CVE: CVE-2026-113797

  • GHSA-997q-gvvc-jwmxModerate
    Electron: openExternal permission requests can be attributed to the wrong origin
    • < 42.11.3
    • >= 43.0.0-alpha.1, < 43.7.0
    • +2 more
    Affected versions:
    • < 42.11.3
    • >= 43.0.0-alpha.1, < 43.7.0
    • >= 44.0.0-alpha.1, < 44.3.0
    • >= 45.0.0-alpha.1, < 45.0.0-alpha.5

    ### Impact Requests to open external protocol URLs could be attributed to a document other than the one that asked for them, so the `requestingUrl` passed to `session.setPermissionRequestHandler` was 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 `openExternal` based on the requesting origin and let untrusted content open or navigate windows. Apps whose permission handler denies `openExternal` for untrusted content are not affected.

    CVE: CVE-2026-114121

  • GHSA-h3v5-h239-pg29Low
    Electron: Off-screen rendering on macOS trusts GPU-supplied frame geometry
    • < 42.11.6
    • >= 43.0.0-alpha.1, < 43.7.3
    • +2 more
    Affected versions:
    • < 42.11.6
    • >= 43.0.0-alpha.1, < 43.7.3
    • >= 44.0.0-alpha.1, < 44.4.3
    • >= 45.0.0-alpha.1, < 45.0.0-alpha.9

    ### 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 `paint` event 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. ### Wor

    CVE: CVE-2026-114124

  • GHSA-x562-297c-g43gModerate
    Electron: Pointer lock permission requests can be attributed to the wrong frame
    • >= 45.0.0-alpha.1, < 45.0.0-alpha.13
    • >= 44.0.0-alpha.1, < 44.5.0
    • +2 more
    Affected versions:
    • >= 45.0.0-alpha.1, < 45.0.0-alpha.13
    • >= 44.0.0-alpha.1, < 44.5.0
    • >= 43.0.0-alpha.1, < 43.7.6
    • < 42.11.9

    ### Impact For `pointerLock` permission requests made from some cross-origin iframes, `session.setPermissionRequestHandler()` was given the top-level frame's `requestingUrl` and `isMainFrame` instead 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 `pointerLock` requests by origin in `setPermissionRequestHandler`. Apps that do not embed untrusted content, or that deny `pointerLock` for it, are not affected.

    CVE: CVE-2026-113798

  • GHSA-fw47-9c62-h3vwModerate
    Electron: HID and USB permission checks can be attributed to the wrong origin
    • >= 45.0.0-alpha.1, < 45.0.0-alpha.5
    • >= 44.0.0-alpha.1, < 44.3.0
    • +2 more
    Affected versions:
    • >= 45.0.0-alpha.1, < 45.0.0-alpha.5
    • >= 44.0.0-alpha.1, < 44.3.0
    • >= 43.0.0-alpha.1, < 43.7.0
    • < 42.11.3

    ### Impact For `hid` and `usb` permission checks made from an iframe, `session.setPermissionCheckHandler` was 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 `setPermissionCheckHandler` with origin-based logic for `hid` or `usb` and embed cross-origin iframes with `allow="hid"` or `allow="usb"`. Apps that don't delegate those features to untrusted iframes are not affected. ### Workarounds Don't add `allow="hi

    CVE: CVE-2026-113800

  • GHSA-9qh4-3jw8-366wHigh
    Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions
    • < 41.10.6
    • >= 42.0.0-alpha.1, < 42.9.2
    • +2 more
    Affected versions:
    • < 41.10.6
    • >= 42.0.0-alpha.1, < 42.9.2
    • >= 43.0.0-alpha.1, < 43.4.1
    • >= 44.0.0-alpha.1, < 44.0.0-beta.5

    ### 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 `nodeIntegrationInWorker` from the guest preferences in a `will-attach-webview` handler, or do not enable the `<webview>` tag when loading untrusted content. ### Fixed Versions * `44.0.0-beta.5`

    CVE: CVE-2026-102676

  • GHSA-gr2m-v5gq-v685High
    Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions
    • < 41.10.6
    • >= 42.0.0-alpha.1, < 42.9.2
    • +2 more
    Affected versions:
    • < 41.10.6
    • >= 42.0.0-alpha.1, < 42.9.2
    • >= 43.0.0-alpha.1, < 43.4.1
    • >= 44.0.0-alpha.1, < 44.0.0-beta.5

    ### Impact Windows opened from a sandboxed top-level document did not inherit that document's HTML `sandbox` restrictions, 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 `setWindowOpenHandler` are not affected. ### Workarounds Return `{ action: 'deny' }` from `setWindowOpenHandler` for windows opened by untrusted content. ##

    CVE: CVE-2026-102674

Showing 1-10 of 79 vulnerabilities