CVE-2023-23623
CVE-2023-23623 is a high-severity vulnerability in Electronjs Electron with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-670.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 1% (47th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-670
- Affected product: Electronjs Electron
- Published:
- Last modified:
Description
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` in that directive, is not respected in renderers that have sandbox disabled. i.e. `sandbox: false` in the `webPreferences` object. This allows usage of methods like `eval()` and `new Function` unexpectedly which can result in an expanded attack surface. This issue only ever affected the 22 and 23 major versions of Electron and has been fixed in the latest versions of those release lines. Specifically, these versions contain the fixes: 22.0.1 and 23.0.0-alpha.2 We recommend all apps upgrade to the latest stable version of Electron. If upgrading isn't possible, this issue can be addressed without upgrading by enabling `sandbox: true` on all renderers.
Frequently asked questions
- What is CVE-2023-23623?
- 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` in that directive, is not respected in renderers that have sandbox disabled. i.e. `sandbox: false` in the `webPreferences` object. This allows usage of methods like `eval()` and `new Function` unexpectedly which can result in an expanded attack surface. This issue only ever affected the 22 and 23 major versions of Electron and has been fixed in the latest versions of those release lines. Specifically, these versions contain the fixes: 22.0.1 and 23.0.0-alpha.2 We recommend all apps upgrade to the latest stable version of Electron. If upgrading isn't possible, this issue can be addressed without upgrading by enabling `sandbox: true` on all renderers.
- How severe is CVE-2023-23623?
- CVE-2023-23623 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2023-23623 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (47th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-23623?
- CVE-2023-23623 primarily affects Electronjs Electron. In total, 10 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2023-23623?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2023-23623 published?
- CVE-2023-23623 was published on 2023-09-06 and last updated on 2026-06-17.
References
Affected products (10)
- cpe:2.3:a:electronjs:electron:22.0.0:-:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:22.0.0:beta1:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:22.0.0:beta2:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:22.0.0:beta3:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:22.0.0:beta4:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:22.0.0:beta5:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:22.0.0:beta6:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:22.0.0:beta7:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:22.0.0:beta8:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:23.0.0:alpha1:*:*:*:node.js:*:*
More vulnerabilities in Electronjs Electron
- CVE-2017-16151 — Critical (CVSS 9.8): Based on details posted by the ElectronJS team; A remote code execution vulnerability has been discovered in Google…
- CVE-2018-1000118 — High (CVSS 8.8): Github Electron version Electron 1.8.2-beta.4 and earlier contains a Command Injection vulnerability in Protocol…
- CVE-2026-34780 — High (CVSS 8.3): Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From versions…
- CVE-2026-34774 — High (CVSS 8.1): Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to…
- CVE-2018-15685 — High (CVSS 8.1): GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and…
- CVE-2018-1000136 — High (CVSS 8.1): 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…
All CVEs affecting Electronjs Electron →
Other CWE-670 vulnerabilities
- CVE-2025-43359 — Critical (CVSS 9.8): A logic issue was addressed with improved state management. This issue is fixed in iOS 18.7 and iPadOS 18.7, iOS 26 and…
- CVE-2022-25745 — Critical (CVSS 9.8): Memory corruption in modem due to improper input validation while handling the incoming CoAP message
- CVE-2020-1914 — Critical (CVSS 9.8): A logic vulnerability when handling the SaveGeneratorLong instruction in Facebook Hermes prior to commit…
- CVE-2020-17466 — Critical (CVSS 9.8): Turcom TRCwifiZone through 2020-08-10 allows authentication bypass by visiting manage/control.php and ignoring 302…
- CVE-2019-17192 — Critical (CVSS 9.8): The WebRTC component in the Signal Private Messenger application through 4.47.7 for Android processes videoconferencing…
- CVE-2026-55276 — Critical (CVSS 9.1): Always-Incorrect Control Flow Implementation vulnerability in Apache Tomcat meant that special roles and empty…