Search for packages
Package details: pkg:npm/electron@3.0.11
purl pkg:npm/electron@3.0.11
Next non-vulnerable version 28.3.2
Latest non-vulnerable version 38.0.0-beta.6
Risk 10.0
Vulnerabilities affecting this package (11)
Vulnerability Summary Fixed by
VCID-2zn4-vrk9-1qhv
Aliases:
CVE-2024-46993
GHSA-6r2x-8pq8-9489
Electron vulnerable to Heap Buffer Overflow in NativeImage ### Impact The `nativeImage.createFromPath()` and `nativeImage.createFromBuffer()` functions call a function downstream that is vulnerable to a heap buffer overflow. An Electron program that uses either of the affected functions is vulnerable to a buffer overflow if an attacker is in control of the image's height, width, and contents. ### Workaround There are no app-side workarounds for this issue. You must update your Electron version to be protected. ### Patches - `v28.3.2` - `v29.3.3` - `v30.0.3` ### For More Information If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org).
28.3.2
Affected by 0 other vulnerabilities.
29.3.3
Affected by 0 other vulnerabilities.
30.0.3
Affected by 1 other vulnerability.
VCID-6bk1-sbad-kygh
Aliases:
CVE-2020-15096
GHSA-6vrv-94jv-crrg
Context isolation bypass via Promise in Electron ### Impact Apps using `contextIsolation` are affected. This is a context isolation bypass, meaning that code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. ### Workarounds There are no app-side workarounds, you must update your Electron version to be protected. ### Fixed Versions * `9.0.0-beta.21` * `8.2.4` * `7.2.4` * `6.1.11` ### For more information If you have any questions or comments about this advisory: * Email us at [security@electronjs.org](mailto:security@electronjs.org)
6.1.1
Affected by 10 other vulnerabilities.
6.1.11
Affected by 10 other vulnerabilities.
7.2.4
Affected by 10 other vulnerabilities.
8.2.4
Affected by 12 other vulnerabilities.
9.0.1
Affected by 12 other vulnerabilities.
VCID-9e16-vwtt-fygg
Aliases:
CVE-2023-29198
GHSA-p7v2-p9m8-qqg7
Electron context isolation bypass via nested unserializable return value ### Impact Apps using `contextIsolation` and `contextBridge` are affected. This is a context isolation bypass, meaning that code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. ### Workarounds This issue is exploitable under either of two conditions: * If an API exposed to the main world via `contextBridge` can return an object or array that contains a JS object which cannot be serialized, for instance, a canvas rendering context. This would normally result in an exception being thrown `Error: object could not be cloned`. * If an API exposed to the main world via `contextBridge` has a return value that throws a user-generated exception while being sent over the bridge, for instance a dynamic getter property on an object that throws an error when being computed. The app side workaround is to ensure that such a case is not possible. Ensure all values returned from a function exposed over the context bridge are [supported](https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support) and that any objects returned from functions do not have dynamic getters that can throw exceptions. Auditing your exposed API is likely to be quite difficult so we strongly recommend you update to a patched version of Electron. ### Fixed Versions * `25.0.0-alpha.2` * `24.0.1` * `23.2.3` * `22.3.6` ### For more information If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)
22.3.6
Affected by 5 other vulnerabilities.
23.2.3
Affected by 3 other vulnerabilities.
24.0.1
Affected by 0 other vulnerabilities.
24.1.0
Affected by 5 other vulnerabilities.
25.0.0-alpha.2
Affected by 3 other vulnerabilities.
VCID-bmk1-xmcy-wkgk
Aliases:
CVE-2022-21718
GHSA-3p22-ghq8-v749
Renderers can obtain access to random bluetooth device without permission in Electron ### Impact This vulnerability allows renderers to obtain access to a random bluetooth device via the [web bluetooth API](https://developer.mozilla.org/en-US/docs/Web/API/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. ```js app.on('web-contents-created', (event, webContents) => { webContents.on('select-bluetooth-device', (event, devices, callback) => { // Prevent default behavior event.preventDefault(); // Cancel the request callback(''); }); }); ``` For more information If you have any questions or comments about this advisory, email us at security@electronjs.org.
13.6.6
Affected by 8 other vulnerabilities.
14.2.4
Affected by 8 other vulnerabilities.
15.3.5
Affected by 8 other vulnerabilities.
16.0.6
Affected by 8 other vulnerabilities.
17.0.0-alpha.6
Affected by 6 other vulnerabilities.
17.0.1
Affected by 8 other vulnerabilities.
VCID-djd5-4pd8-ffaa
Aliases:
CVE-2023-39956
GHSA-7x97-j373-85x5
Electron vulnerable to out-of-package code execution when launched with arbitrary cwd ### Impact Apps that are launched as command line executables are impacted. E.g. if your app exposes itself in the path as `myapp --help` Specifically this issue can only be exploited if the following conditions are met: * Your app is launched with an attacker-controlled working directory * The attacker has the ability to write files to that working directory This makes the risk quite low, in fact normally issues of this kind are considered outside of our threat model as similar to Chromium we exclude [Physically Local Attacks](https://github.com/electron/electron/security/advisories/GHSA-7x97-j373-85x5#:~:text=Physically%20Local%20Attacks) but given the ability for this issue to bypass certain protections like ASAR Integrity it is being treated with higher importance. Please bear this in mind when reporting similar issues in the future. ### Workarounds There are no app side workarounds, you must update to a patched version of Electron. ### Fixed Versions * `26.0.0-beta.13` * `25.5.0` * `24.7.1` * `23.3.13` * `22.3.19` ### For more information If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)
22.3.19
Affected by 0 other vulnerabilities.
22.3.21
Affected by 4 other vulnerabilities.
23.3.13
Affected by 2 other vulnerabilities.
24.7.1
Affected by 4 other vulnerabilities.
25.5.0
Affected by 4 other vulnerabilities.
26.0.0-beta.13
Affected by 0 other vulnerabilities.
26.0.0
Affected by 4 other vulnerabilities.
VCID-dt77-g8na-23bp
Aliases:
CVE-2020-26272
GHSA-hvf8-h2qh-37m9
IPC messages delivered to the wrong frame in Electron ### Impact IPC messages sent from the main process to a subframe in the renderer process, through `webContents.sendToFrame`, `event.reply` or when using the `remote` module, can in some cases be delivered to the wrong frame. If your app does ANY of the following, then it is impacted by this issue: - Uses `remote` - Calls `webContents.sendToFrame` - Calls `event.reply` in an IPC message handler ### Patches This has been fixed in the following versions: - 9.4.0 - 10.2.0 - 11.1.0 - 12.0.0-beta.9 ### Workarounds There are no workarounds for this issue. ### For more information If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org).
9.4.0
Affected by 9 other vulnerabilities.
10.2.0
Affected by 10 other vulnerabilities.
11.1.0
Affected by 10 other vulnerabilities.
VCID-mhcg-99p6-rqd4
Aliases:
CVE-2023-44402
GHSA-7m48-wc93-9g85
ASAR Integrity bypass via filetype confusion in electron ### Impact This only impacts apps that have the `embeddedAsarIntegrityValidation` and `onlyLoadAppFromAsar` [fuses](https://www.electronjs.org/docs/latest/tutorial/fuses) enabled. Apps without these fuses enabled are not impacted. This issue is specific to macOS as these fuses are only currently supported on macOS. Specifically this issue can only be exploited if your app is launched from a filesystem the attacker has write access too. i.e. the ability to edit files inside the `resources` folder in your app installation on Windows which these fuses are supposed to protect against. ### Workarounds There are no app side workarounds, you must update to a patched version of Electron. ### Fixed Versions * `27.0.0-alpha.7` * `26.2.1` * `25.8.1` * `24.8.3` * `22.3.24` ### For more information If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)
22.3.24
Affected by 2 other vulnerabilities.
24.8.3
Affected by 2 other vulnerabilities.
25.8.1
Affected by 2 other vulnerabilities.
26.2.1
Affected by 2 other vulnerabilities.
27.0.0-alpha.7
Affected by 0 other vulnerabilities.
27.0.0-beta.1
Affected by 3 other vulnerabilities.
VCID-qq4y-61vn-pfdq
Aliases:
CVE-2023-5217
GHSA-qqvq-6xgj-jw8g
Specific handling of an attacker-controlled VP8 media stream could lead to a heap buffer overflow in the content process. We are aware of this issue being exploited in other products in the wild.
22.3.25
Affected by 1 other vulnerability.
23.0.0-alpha.1
Affected by 5 other vulnerabilities.
24.8.5
Affected by 1 other vulnerability.
25.0.0-alpha.1
Affected by 4 other vulnerabilities.
25.8.4
Affected by 1 other vulnerability.
26.0.0-alpha.1
Affected by 3 other vulnerabilities.
26.2.4
Affected by 1 other vulnerability.
27.0.0-beta.8
Affected by 1 other vulnerability.
VCID-vbfq-zsr9-xyfy
Aliases:
CVE-2022-29257
GHSA-77xc-hjv8-ww97
AutoUpdater module fails to validate certain nested components of the bundle ### Impact This vulnerability allows attackers who have control over a given apps update server / update storage to serve maliciously crafted update packages that pass the code signing validation check but contain malicious code in some components. Please note that this kind of attack would require **significant** privileges in your own auto updating infrastructure and the ease of that attack entirely depends on your infrastructure security. ### Patches This has been patched and the following Electron versions contain the fix: * `18.0.0-beta.6` * `17.2.0` * `16.2.0` * `15.5.0` ### Workarounds There are no workarounds for this issue, please update to a patched version of Electron. ### For more information If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)
15.5.0
Affected by 7 other vulnerabilities.
16.2.0
Affected by 7 other vulnerabilities.
17.2.0
Affected by 6 other vulnerabilities.
18.0.0-beta.6
Affected by 6 other vulnerabilities.
18.0.0
Affected by 6 other vulnerabilities.
VCID-vmzw-bf7n-sqbb
Aliases:
CVE-2022-36077
GHSA-p2jh-44qj-pf2v
Exfiltration of hashed SMB credentials on Windows via file:// redirect ### Impact When following a redirect, Electron delays a check for redirecting to file:// URLs from other schemes. The contents of the file is not available to the renderer following the redirect, but if the redirect target is a SMB URL such as `file://some.website.com/`, then in some cases, Windows will connect to that server and attempt NTLM authentication, which can include sending hashed credentials. ### Patches This issue has been fixed in all current stable versions of Electron. Specifically, these versions contain the fixes: - 21.0.0-beta.1 - 20.0.1 - 19.0.11 - 18.3.7 We recommend all apps upgrade to the latest stable version of Electron. ### Workarounds If upgrading isn't possible, this issue can be addressed without upgrading by preventing redirects to file:// URLs in the `WebContents.on('will-redirect')` event, for all WebContents: ```js app.on('web-contents-created', (e, webContents) => { webContents.on('will-redirect', (e, url) => { if (/^file:/.test(url)) e.preventDefault() }) }) ``` ### For more information If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org). ### Credit Thanks to user @coolcoolnoworries for reporting this issue.
18.3.7
Affected by 5 other vulnerabilities.
19.0.11
Affected by 6 other vulnerabilities.
20.0.1
Affected by 5 other vulnerabilities.
21.0.1
Affected by 5 other vulnerabilities.
VCID-x7tk-u27h-m7e7
Aliases:
CVE-2022-29247
GHSA-mq8j-3h7h-p8g7
Compromised child renderer processes could obtain IPC access without nodeIntegrationInSubFrames being enabled ### Impact This vulnerability allows a renderer with JS execution to obtain access to a new renderer process with `nodeIntegrationInSubFrames` enabled which in turn allows effective access to `ipcRenderer`. Please note the misleadingly named `nodeIntegrationInSubFrames` option does not implicitly grant Node.js access rather it depends on the existing `sandbox` setting. If your application is sandboxed then `nodeIntegrationInSubFrames` just gives access to the sandboxed renderer APIs (which includes `ipcRenderer`). If your application then additionally exposes IPC messages without IPC `senderFrame` validation that perform privileged actions or return confidential data this access to `ipcRenderer` can in turn compromise your application / user even with the sandbox enabled. ### Patches This has been patched and the following Electron versions contain the fix: * `18.0.0-beta.6` * `17.2.0` * `16.2.6` * `15.5.5` ### Workarounds Ensure that all IPC message handlers appropriately validate `senderFrame` as per our [security tutorial here](https://github.com/electron/electron/blob/main/docs/tutorial/security.md#17-validate-the-sender-of-all-ipc-messages). ### For more information If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org).
15.5.5
Affected by 6 other vulnerabilities.
16.2.6
Affected by 6 other vulnerabilities.
17.2.0
Affected by 6 other vulnerabilities.
18.0.0-beta.6
Affected by 6 other vulnerabilities.
18.0.0
Affected by 6 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2025-08-01T12:24:07.777855+00:00 GitLab Importer Affected by VCID-2zn4-vrk9-1qhv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/electron/CVE-2024-46993.yml 37.0.0
2025-08-01T11:27:06.222057+00:00 GitLab Importer Affected by VCID-mhcg-99p6-rqd4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/electron/CVE-2023-44402.yml 37.0.0
2025-08-01T11:21:29.576343+00:00 GitLab Importer Affected by VCID-qq4y-61vn-pfdq https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/electron/CVE-2023-5217.yml 37.0.0
2025-08-01T11:19:16.229565+00:00 GitLab Importer Affected by VCID-9e16-vwtt-fygg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/electron/CVE-2023-29198.yml 37.0.0
2025-08-01T11:19:02.609548+00:00 GitLab Importer Affected by VCID-djd5-4pd8-ffaa https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/electron/CVE-2023-39956.yml 37.0.0
2025-08-01T10:53:03.552660+00:00 GitLab Importer Affected by VCID-vmzw-bf7n-sqbb https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/electron/CVE-2022-36077.yml 37.0.0
2025-08-01T10:40:10.881279+00:00 GitLab Importer Affected by VCID-vbfq-zsr9-xyfy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/electron/CVE-2022-29257.yml 37.0.0
2025-08-01T10:40:06.730553+00:00 GitLab Importer Affected by VCID-x7tk-u27h-m7e7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/electron/CVE-2022-29247.yml 37.0.0
2025-08-01T10:18:24.485451+00:00 GitLab Importer Affected by VCID-bmk1-xmcy-wkgk https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/electron/CVE-2022-21718.yml 37.0.0
2025-08-01T09:47:53.252853+00:00 GitLab Importer Affected by VCID-dt77-g8na-23bp https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/electron/CVE-2020-26272.yml 37.0.0
2025-08-01T09:34:18.227827+00:00 GitLab Importer Affected by VCID-6bk1-sbad-kygh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/electron/CVE-2020-15096.yml 37.0.0