cve.bz

CVE-2023-23623 electronjs electron

9.8 criticalEPSS 0.7%Fix available

Critical (9.8) in electronjs electron. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in electron 22.0.1, 23.0.0-alpha.2.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2024-09-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-670 Always-Incorrect Control Flow Implementation
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-23623 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-23623?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-23623?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-23623 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
electronjs:electron22.0.0
electronjs:electron22.0.0:beta1
electronjs:electron22.0.0:beta2
electronjs:electron22.0.0:beta3
electronjs:electron22.0.0:beta4
electronjs:electron22.0.0:beta5
electronjs:electron22.0.0:beta6
electronjs:electron22.0.0:beta7
electronjs:electron22.0.0:beta8
electronjs:electron23.0.0:alpha1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gxh7-wv9q-fwfrnpmelectron>=22.0.0-beta.1 <22.0.122.0.1
GHSA-gxh7-wv9q-fwfrnpmelectron>=23.0.0-alpha.1 <23.0.0-alpha.223.0.0-alpha.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSETumbleweednodejs-electron22.3.6-1.1openSUSE-SU-2024:12869-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.

References

Check your stackJSON