
CVE-2024-46993 – Electron Vulnerable to Heap Buffer Overflow in NativeImage::CreateFromPath
https://notcve.org/view.php?id=CVE-2024-46993
01 Jul 2025 — 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() 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. This issue has been patc... • https://github.com/electron/electron/security/advisories/GHSA-6r2x-8pq8-9489 • CWE-122: Heap-based Buffer Overflow •

CVE-2023-44402 – ASAR Integrity bypass via filetype confusion in electron
https://notcve.org/view.php?id=CVE-2023-44402
01 Dec 2023 — 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 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 edi... • https://github.com/electron/electron/pull/39788 • CWE-345: Insufficient Verification of Data Authenticity •

CVE-2023-29198 – Context isolation bypass via nested unserializable return value in Electron
https://notcve.org/view.php?id=CVE-2023-29198
06 Sep 2023 — 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 running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions. This issue is only exploitable if an API exposed to the main world via `contextBridge` can return an object or array that contains a javascript o... • https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7 • CWE-754: Improper Check for Unusual or Exceptional Conditions •

CVE-2023-39956 – Electron: Out-of-package code execution when launched with arbitrary cwd
https://notcve.org/view.php?id=CVE-2023-39956
06 Sep 2023 — 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 the following conditions are met: 1. The app is launched with an attacker-controlled working directory and 2. The attacker has the ability to write files to that working directory. • https://github.com/electron/electron/security/advisories/GHSA-7x97-j373-85x5 • CWE-94: Improper Control of Generation of Code ('Code Injection') •