cve.bz

CVE-2023-29198 electronjs electron

8.5 highEPSS 0.6%Fix available

High (8.5) in electronjs electron. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in electron 22.3.6, 23.2.3, 24.0.1.

On this page
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 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`. 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. This issue has been fixed in versions `25.0.0-alpha.2`, `24.0.1`, `23.2.3`, and `22.3.6`.

Severity

CVSS 3.1

8.5 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th 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: no · Technical impact: partial, 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-754 Improper Check for Unusual or Exceptional Conditions
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
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-29198 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-29198?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-29198?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-29198 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:electronbefore 22.3.6
electronjs:electronfrom 23.0.0 before 23.2.3
electronjs:electron24.0.0
electronjs:electron24.0.0:alpha1
electronjs:electron24.0.0:alpha2
electronjs:electron24.0.0:alpha3
electronjs:electron24.0.0:alpha4
electronjs:electron24.0.0:alpha5
electronjs:electron24.0.0:alpha6
electronjs:electron24.0.0:alpha7
electronjs:electron24.0.0:beta1
electronjs:electron24.0.0:beta2
electronjs:electron24.0.0:beta3
electronjs:electron24.0.0:beta4
electronjs:electron24.0.0:beta5
electronjs:electron24.0.0:beta6
electronjs:electron24.0.0:beta7
electronjs:electron25.0.0:alpha1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p7v2-p9m8-qqg7npmelectron<22.3.622.3.6
GHSA-p7v2-p9m8-qqg7npmelectron>=23.0.0-alpha.1 <23.2.323.2.3
GHSA-p7v2-p9m8-qqg7npmelectron>=24.0.0-alpha.1 <24.0.124.0.1
GHSA-p7v2-p9m8-qqg7npmelectron>=25.0.0-alpha.1 <25.0.0-alpha.225.0.0-alpha.2

References

Check your stackJSON