Skip to main content
Network Thinking Solutions Logo

CVE-2023-29198

Context isolation bypass via nested unserializable return value in Electron

All CVEs
CVE-2023-29198Published 9/6/2023

Context isolation bypass via nested unserializable return value in Electron

Vendor advisory
CVSS8.5High

Overview

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`.

Published
9/6/2023
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
electron
electronjs
< 22.3.6

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
electron
electronjs
≥ 23.0.0, < 23.2.3

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
electron
electronjs
24.0.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
electron
electronjs
25.0.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
electron
electron
< 22.3.6

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
electron
electron
>= 23.0.0, < 23.2.3

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
electron
electron
>= 24.0.0, < 24.0.1

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
electron
electron
>= 25.0.0-alpha.1, < 25.0.0-alpha.2

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.