electron
npm71 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting electronpage 1 of 2
- CVE-2016-1202HIGHCVSS 7.8EG 7.8fixed in 0.33.52016-04-25
Untrusted search path vulnerability in Atom Electron before 0.33.5 allows local users to gain privileges via a Trojan horse Node.js module in a parent directory of a directory named on a require line.
- CVE-2017-1000424MEDIUMCVSS 4.3EG 4.3fixed in 1.7.62018-01-02
Github Electron version 1.6.4 - 1.6.11 and 1.7.0 - 1.7.5 is vulnerable to a URL Spoofing problem when opening PDFs in PDFium resulting loading arbitrary PDFs that a hacker can control.
- CVE-2017-12581HIGHCVSS 8.1EG 8.1fixed in 1.6.82017-08-06
GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration bypass vulnerability. This also affects all applications that bundle Electron code equivalent to 1.6.8 or earlier. Bypassing the Same Origin Policy (…
- CVE-2017-16151CRITICALCVSS 9.8EG 9.8fixed in 1.6.14 or 1.7.8, by version range2018-06-07
Based on details posted by the ElectronJS team; A remote code execution vulnerability has been discovered in Google Chromium that affects all recent versions of Electron. Any Electron app that accesses remote content is vulnerable to this …
- CVE-2018-1000006CRITICALCVSS 8.8EG 9.0fixed in 1.7.11, 1.6.16 or 1.8.2-beta.4, by version range2018-01-24
GitHub Electron versions 1.8.2-beta.3 and earlier, 1.7.10 and earlier, 1.6.15 and earlier has a vulnerability in the protocol handler, specifically Electron apps running on Windows 10, 7 or 2008 that register custom protocol handlers can b…
- CVE-2018-1000118HIGHCVSS 8.8EG 8.8fixed in 1.8.2-beta52018-03-07
Github Electron version Electron 1.8.2-beta.4 and earlier contains a Command Injection vulnerability in Protocol Handler that can result in command execute. This attack appear to be exploitable via the victim opening an electron protocol h…
- CVE-2018-1000136HIGHCVSS 8.1EG 8.1fixed in 1.7.13, 1.8.4 or 2.0.0-beta.5, by version range2018-03-23
Electron version 1.7 up to 1.7.12; 1.8 up to 1.8.3 and 2.0.0 up to 2.0.0-beta.3 contains an improper handling of values vulnerability in Webviews that can result in remote code execution. This attack appear to be exploitable via an app whi…
- CVE-2018-15685HIGHCVSS 8.1EG 8.1fixed in 1.7.16, 1.8.8, 2.0.8 or 3.0.0-beta.7, by version range2018-08-23
GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and "nativeWindowOpen: true" or "sandbox: true" options, is affected by a WebPreferences vulnerability that can be leveraged to perform …
- CVE-2020-15096MEDIUMCVSS 6.8EG 6.8fixed in 6.1.11, 7.2.4 or 8.2.4, by version range2020-07-07
In Electron before versions 6.1.1, 7.2.4, 8.2.4, and 9.0.0-beta21, there 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…
- CVE-2020-15174HIGHCVSS 7.5EG 7.5fixed in 8.5.1, 9.3.0 or 10.0.1, by version range2020-10-06
In Electron before versions 11.0.0-beta.1, 10.0.1, 9.3.0 or 8.5.1 the `will-navigate` event that apps use to prevent navigations to unexpected destinations as per our security recommendations can be bypassed when a sub-frame performs a top…
- CVE-2020-15215MEDIUMCVSS 5.6EG 5.6fixed in 8.5.2, 9.3.1, 10.1.2 or 11.0.0-beta.6, by version range2020-10-06
Electron before versions 11.0.0-beta.6, 10.1.2, 9.3.1 or 8.5.2 is vulnerable to a context isolation bypass. Apps using both `contextIsolation` and `sandbox: true` are affected. Apps using both `contextIsolation` and `nodeIntegrationInSubFr…
- CVE-2020-26272MEDIUMCVSS 5.4EG 5.4fixed in 9.4.0, 10.2.0 or 11.1.0, by version range2021-01-28
The Electron framework lets users write cross-platform desktop applications using JavaScript, HTML and CSS. In versions of Electron IPC prior to 9.4.0, 10.2.0, 11.1.0, and 12.0.0-beta.9, messages sent from the main process to a subframe in…
- CVE-2020-4075MEDIUMCVSS 6.8EG 6.8fixed in 7.2.4 or 8.2.4, by version range2020-07-07
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, arbitrary local file read is possible by defining unsafe window options on a child window opened via window.open. As a workaround, ensure you are calling `event.preventDefault()` …
- CVE-2020-4076HIGHCVSS 7.8EG 7.8fixed in 7.2.4 or 8.2.4, by version range2020-07-07
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using…
- CVE-2020-4077HIGHCVSS 7.7EG 7.7fixed in 7.2.4 or 8.2.4, by version range2020-07-07
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. Apps using…
- CVE-2021-39184MEDIUMCVSS 6.8EG 6.8fixed in 11.5.0, 12.1.0 or 13.3.0, by version range2021-10-12
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. A vulnerability in versions prior to 11.5.0, 12.1.0, and 13.3.0 allows a sandboxed renderer to request a "thumbnail" image of an arbitr…
- CVE-2022-21718LOWCVSS 3.4EG 3.4fixed in 13.6.6, 14.2.4, 15.3.5, 16.0.6 or 17.0.0-alpha.6, by version range2022-03-22
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. A vulnerability in versions prior to `17.0.0-alpha.6`, `16.0.6`, `15.3.5`, `14.2.4`, and `13.6.6` allows renderers to obtain access to …
- CVE-2022-29247LOWCVSS 2.2EG 2.2fixed in 15.5.5, 16.2.6, 17.2.0 or 18.0.0-beta.6, by version range2022-06-13
Electron is a framework for writing cross-platform desktop applications using JavaScript (JS), HTML, and CSS. A vulnerability in versions prior to 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 allows a renderer with JS execution to obtain acce…
- CVE-2022-29257MEDIUMCVSS 6.6EG 6.6fixed in 15.5.0, 16.2.0, 17.2.0 or 18.0.0-beta.6, by version range2022-06-13
Electron is a framework for writing cross-platform desktop applications using JavaScript (JS), HTML, and CSS. A vulnerability in versions prior to 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 allows attackers who have control over a given app…
- CVE-2022-36077HIGHCVSS 7.2EG 7.2fixed in 18.3.7, 20.0.1 or 19.0.11, by version range2022-11-08
The Electron framework enables writing cross-platform desktop applications using JavaScript, HTML and CSS. In versions prior to 21.0.0-beta.1, 20.0.1, 19.0.11, and 18.3.7, Electron is vulnerable to Exposure of Sensitive Information. When f…
- CVE-2022-4135CRITICALCVSS 9.6EG 9.6⚠ KEVfixed in 19.1.82022-11-25
Heap buffer overflow in GPU in Google Chrome prior to 107.0.5304.121 allowed a remote attacker who had compromised the renderer process to potentially perform a sandbox escape via a crafted HTML page. (Chromium security severity: High)
- CVE-2023-23623HIGHCVSS 7.5EG 7.5fixed in 22.0.1 or 23.0.0-alpha.2, by version range2023-09-06
Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. A Content-Security-Policy that disables eval, specifically setting a `script-src` directive and _not_ providing `unsafe-eval` …
- CVE-2023-29198MEDIUMCVSS 6.0EG 6.0fixed in 22.3.6, 23.2.3, 24.0.1 or 25.0.0-alpha.2, by version range2023-09-06
Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. Electron apps using `contextIsolation` and `contextBridge` are affected. This is a context isolation bypass, meaning that code…
- CVE-2023-39956MEDIUMCVSS 6.1EG 6.1fixed in 22.3.19, 23.3.13, 24.7.1, 25.5.0 or 26.0.0-beta.13, by version range2023-09-06
Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. Electron apps that are launched as command line executables are impacted. Specifically this issue can only be exploited if t…
- CVE-2023-44402HIGHCVSS 7.0EG 7.0fixed in 22.3.24, 24.8.3, 25.8.1, 26.2.1 or 27.0.0-alpha.7, by version range2023-12-01
Electron is an open source framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. This only impacts apps that have the `embeddedAsarIntegrityValidation` and `onlyLoadAppFromAsar` fuses enabled. Apps with…
- CVE-2023-4863CRITICALCVSS 8.8EG 9.0⚠ KEVfixed in 22.3.24, 24.8.3, 25.8.1, 26.2.1 or 27.0.0-beta.2, by version range2023-09-12
Heap buffer overflow in libwebp in Google Chrome prior to 116.0.5845.187 and libwebp 1.3.2 allowed a remote attacker to perform an out of bounds memory write via a crafted HTML page. (Chromium security severity: Critical)
- CVE-2023-5217CRITICALCVSS 8.8EG 9.0⚠ KEVfixed in 22.3.25, 24.8.5, 25.8.4, 26.2.4 or 27.0.0-beta.8, by version range2023-09-28
Heap buffer overflow in vp8 encoding in libvpx in Google Chrome prior to 117.0.5938.132 and libvpx 1.13.1 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. (Chromium security severity: High)
- CVE-2024-46992HIGHCVSS 7.8EG 7.8fixed in 30.0.5 or 31.0.0-beta.1, by version range2025-07-01
Electron is an open source framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From versions 30.0.0-alpha.1 to before 30.0.5 and 31.0.0-alpha.1 to before 31.0.0-beta.1, Electron is vulnerable to an ASA…
- CVE-2024-46993MEDIUMCVSS 4.4EG 4.4fixed in 28.3.2, 29.3.3 or 30.0.3, by version range2025-07-01
Electron is an open source framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. In versions prior to 28.3.2, 29.3.3, and 30.0.3, the nativeImage.createFromPath() and nativeImage.createFromBuffer() funct…
- CVE-2025-55305MEDIUMCVSS 6.1EG 6.1fixed in 35.7.5, 36.8.1, 37.3.1 or 38.0.0-beta.6, by version range2025-09-04
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. In versions below 35.7.5, 36.0.0-alpha.1 through 36.8.0, 37.0.0-alpha.1 through 37.3.1 and 38.0.0-alpha.1 through 38.0.0-beta.6, ASAR I…
- CVE-2026-102672MEDIUMCVSS 6.7EG 6.7fixed in 39.8.10, 41.10.5 or 42.0.0-beta.2, by version range2026-09-29
Electron: Local race condition in Squirrel.Mac update installation on macOS ### Impact On macOS, Electron bundles the Squirrel.Mac auto-update framework, whose privileged `ShipIt` helper performs the final step of an update as root. A lo…
- CVE-2026-102673HIGHCVSS 8.2EG 8.2fixed in 41.10.4, 42.5.2 or 43.0.0, by version range2026-09-29
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 41.10.4, 42.5.2, and 43.0.0, popups opened from a sandboxed iframe through Electron's OpenURLFromTab navigation path, includin…
- CVE-2026-102674HIGHCVSS 8.2EG 8.2fixed in 41.10.6, 42.9.2, 43.4.1 or 44.0.0-beta.5, by version range2026-09-29
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 41.10.6, 42.9.2, 43.4.1, and 44.0.0-beta.5, windows opened from a sandboxed top-level document did not inherit that document's…
- CVE-2026-102675HIGHCVSS 7.4EG 7.4fixed in 41.10.6, 42.9.2, 43.4.1 or 44.0.0-beta.5, by version range2026-09-29
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 41.10.6, 42.9.2, 43.4.1, and 44.0.0-beta.5, responses served through protocol.registerFileProtocol or protocol.registerHttpPro…
- CVE-2026-102676HIGHCVSS 8.3EG 8.3fixed in 41.10.6, 42.9.2, 43.4.1 or 44.0.0-beta.5, by version range2026-09-29
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 41.10.6, 42.9.2, 43.4.1, and 44.0.0-beta.5, an Electron <webview> guest could enable nodeIntegrationInWorker for its Web Worke…
- CVE-2026-102677HIGHCVSS 8.8EG 8.8fixed in 42.10.0, 43.5.0 or 44.0.0-beta.6, by version range2026-09-29
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From 42.3.3 until 42.10.0, 43.5.0, and 44.0.0-beta.6, Electron's sandboxed preload code cache did not verify that a cached entry matche…
- CVE-2026-34764LOWCVSS 2.3EG 2.3fixed in 39.8.5, 40.8.5, 41.1.0 or 42.0.0-alpha.5, by version range2026-04-06
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From 33.0.0-alpha.1 to before 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5, apps that use offscreen rendering with GPU shared textures ma…
- CVE-2026-34765HIGHCVSS 8.8EG 8.8fixed in 39.8.5, 40.8.5, 41.1.0 or 42.0.0-alpha.5, by version range2026-04-07
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5, when a renderer calls window.open() with a target name, Electron did not correctly…
- CVE-2026-34766MEDIUMCVSS 5.4EG 5.4fixed in 38.8.6, 39.8.0, 40.7.0 or 41.0.0-beta.8, by version range2026-04-04
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8, the select-usb-device event callback did not validate the chosen device ID…
- CVE-2026-34767MEDIUMCVSS 6.5EG 6.5fixed in 38.8.6, 39.8.3, 40.8.3 or 41.0.3, by version range2026-04-04
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.3, 40.8.3, and 41.0.3, apps that register custom protocol handlers via protocol.handle() / protocol.regi…
- CVE-2026-34768HIGHCVSS 7.8EG 7.8fixed in 38.8.6, 39.8.1, 40.8.0 or 41.0.0-beta.8, by version range2026-04-04
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8, on Windows, app.setLoginItemSettings({openAtLogin: true}) wrote the execut…
- CVE-2026-34769HIGHCVSS 8.8EG 8.8fixed in 38.8.6, 39.8.0, 40.7.0 or 41.0.0-beta.8, by version range2026-04-04
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8, an undocumented commandLineSwitches webPreference allowed arbitrary switch…
- CVE-2026-34770HIGHCVSS 8.8EG 8.8fixed in 38.8.6, 39.8.1, 40.8.0 or 41.0.0-beta.8, by version range2026-04-04
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8, apps that use the powerMonitor module may be vulnerable to a use-after-fre…
- CVE-2026-34771HIGHCVSS 8.8EG 8.8fixed in 38.8.6, 39.8.0, 40.7.0 or 41.0.0-beta.8, by version range2026-04-04
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8, apps that register an asynchronous session.setPermissionRequestHandler() m…
- CVE-2026-34772HIGHCVSS 8.8EG 8.8fixed in 38.8.6, 39.8.0, 40.7.0 or 41.0.0-beta.7, by version range2026-04-04
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8, apps that allow downloads and programmatically destroy sessions may be vul…
- CVE-2026-34773HIGHCVSS 7.5EG 7.5fixed in 38.8.6, 39.8.1, 40.8.1 or 41.0.0, by version range2026-04-04
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, on Windows, app.setAsDefaultProtocolClient(protocol) did not validate the protoco…
- CVE-2026-34774HIGHCVSS 8.1EG 8.1fixed in 39.8.1, 40.7.0 or 41.0.0, by version range2026-04-04
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 39.8.1, 40.7.0, and 41.0.0, apps that use offscreen rendering and allow child windows via window.open() may be vulner…
- CVE-2026-34775CRITICALCVSS 9.8EG 9.8fixed in 38.8.6, 39.8.4, 40.8.4 or 41.0.0, by version range2026-04-04
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.4, 40.8.4, and 41.0.0, the nodeIntegrationInWorker webPreference was not correctly scoped in all configu…
- CVE-2026-34776MEDIUMCVSS 5.3EG 5.3fixed in 38.8.6, 39.8.1, 40.8.1 or 41.0.0, by version range2026-04-04
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, on macOS and Linux, apps that call app.requestSingleInstanceLock() were vulnerabl…
- CVE-2026-34777MEDIUMCVSS 5.4EG 5.4fixed in 38.8.6, 39.8.1, 40.8.1 or 41.0.0, by version range2026-04-04
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, when an iframe requests fullscreen, pointerLock, keyboardLock, openExternal, or m…
Check whether electron is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for electron CVEs against the assets you own.
Book a Demo →