Read the docs
TI-2023-13626 Aliases CVE-2023-29198GHSA-p7v2-p9m8-qqg7

Context isolation bypass via nested unserializable return value in Electron

Priority LOW 38CWE-754Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

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

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0059 48th percentileScored 2026-11-07
Fix Fixed electron (electron): 22.3.6, 23.2.3, 24.0.1 +1electron (npm): 22.3.6, 23.2.3, 24.0.1 +1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
electronelectronbefore 22.3.6; 23.0.0 to before 23.2.3; 24.0.0 to before 24.0.1; 25.0.0-alpha.1 to before 25.0.0-alpha.222.3.6, 23.2.3, 24.0.1, 25.0.0-alpha.2Patch availableCNA
—electron (npm)before 22.3.622.3.6Patch availableGHSA-p7v2-p9m8-qqg7
—electron (npm)23.0.0-alpha.1 to before 23.2.323.2.3Patch availableGHSA-p7v2-p9m8-qqg7
—electron (npm)24.0.0-alpha.1 to before 24.0.124.0.1Patch availableGHSA-p7v2-p9m8-qqg7
—electron (npm)25.0.0-alpha.1 to before 25.0.0-alpha.225.0.0-alpha.2Patch availableGHSA-p7v2-p9m8-qqg7
  • electron Vendorelectron Affected before 22.3.6; 23.0.0 to before 23.2.3; 24.0.0 to before 24.0.1; 25.0.0-alpha.1 to before 25.0.0-alpha.2 Fixed in 22.3.6, 23.2.3, 24.0.1, 25.0.0-alpha.2 Patch available CNA
  • electron (npm) Vendor— Affected before 22.3.6 Fixed in 22.3.6 Patch available GHSA-p7v2-p9m8-qqg7
  • electron (npm) Vendor— Affected 23.0.0-alpha.1 to before 23.2.3 Fixed in 23.2.3 Patch available GHSA-p7v2-p9m8-qqg7
  • electron (npm) Vendor— Affected 24.0.0-alpha.1 to before 24.0.1 Fixed in 24.0.1 Patch available GHSA-p7v2-p9m8-qqg7
  • electron (npm) Vendor— Affected 25.0.0-alpha.1 to before 25.0.0-alpha.2 Fixed in 25.0.0-alpha.2 Patch available GHSA-p7v2-p9m8-qqg7

CPE configurations NVD · 17

CPEVersionsRoleVendor
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*before 22.3.6; 23.0.0 to before 23.2.3VulnerableElectronjs
cpe:2.3:a:electronjs:electron:24.0.0:-:*:*:*:node.js:*:*24.0.0VulnerableElectronjs
cpe:2.3:a:electronjs:electron:24.0.0:alpha1:*:*:*:node.js:*:*24.0.0 alpha1VulnerableElectronjs
cpe:2.3:a:electronjs:electron:24.0.0:alpha2:*:*:*:node.js:*:*24.0.0 alpha2VulnerableElectronjs
cpe:2.3:a:electronjs:electron:24.0.0:alpha3:*:*:*:node.js:*:*24.0.0 alpha3VulnerableElectronjs
cpe:2.3:a:electronjs:electron:24.0.0:alpha4:*:*:*:node.js:*:*24.0.0 alpha4VulnerableElectronjs
cpe:2.3:a:electronjs:electron:24.0.0:alpha5:*:*:*:node.js:*:*24.0.0 alpha5VulnerableElectronjs
cpe:2.3:a:electronjs:electron:24.0.0:alpha6:*:*:*:node.js:*:*24.0.0 alpha6VulnerableElectronjs
cpe:2.3:a:electronjs:electron:24.0.0:alpha7:*:*:*:node.js:*:*24.0.0 alpha7VulnerableElectronjs
cpe:2.3:a:electronjs:electron:24.0.0:beta1:*:*:*:node.js:*:*24.0.0 beta1VulnerableElectronjs
  • cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* Versions before 22.3.6; 23.0.0 to before 23.2.3 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:-:*:*:*:node.js:*:* Versions 24.0.0 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:alpha1:*:*:*:node.js:*:* Versions 24.0.0 alpha1 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:alpha2:*:*:*:node.js:*:* Versions 24.0.0 alpha2 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:alpha3:*:*:*:node.js:*:* Versions 24.0.0 alpha3 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:alpha4:*:*:*:node.js:*:* Versions 24.0.0 alpha4 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:alpha5:*:*:*:node.js:*:* Versions 24.0.0 alpha5 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:alpha6:*:*:*:node.js:*:* Versions 24.0.0 alpha6 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:alpha7:*:*:*:node.js:*:* Versions 24.0.0 alpha7 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:beta1:*:*:*:node.js:*:* Versions 24.0.0 beta1 Vulnerable ·Electronjs
Show 7 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:electronjs:electron:24.0.0:beta2:*:*:*:node.js:*:*24.0.0 beta2VulnerableElectronjs
cpe:2.3:a:electronjs:electron:24.0.0:beta3:*:*:*:node.js:*:*24.0.0 beta3VulnerableElectronjs
cpe:2.3:a:electronjs:electron:24.0.0:beta4:*:*:*:node.js:*:*24.0.0 beta4VulnerableElectronjs
cpe:2.3:a:electronjs:electron:24.0.0:beta5:*:*:*:node.js:*:*24.0.0 beta5VulnerableElectronjs
cpe:2.3:a:electronjs:electron:24.0.0:beta6:*:*:*:node.js:*:*24.0.0 beta6VulnerableElectronjs
cpe:2.3:a:electronjs:electron:24.0.0:beta7:*:*:*:node.js:*:*24.0.0 beta7VulnerableElectronjs
cpe:2.3:a:electronjs:electron:25.0.0:alpha1:*:*:*:node.js:*:*25.0.0 alpha1VulnerableElectronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:beta2:*:*:*:node.js:*:* Versions 24.0.0 beta2 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:beta3:*:*:*:node.js:*:* Versions 24.0.0 beta3 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:beta4:*:*:*:node.js:*:* Versions 24.0.0 beta4 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:beta5:*:*:*:node.js:*:* Versions 24.0.0 beta5 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:beta6:*:*:*:node.js:*:* Versions 24.0.0 beta6 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:24.0.0:beta7:*:*:*:node.js:*:* Versions 24.0.0 beta7 Vulnerable ·Electronjs
  • cpe:2.3:a:electronjs:electron:25.0.0:alpha1:*:*:*:node.js:*:* Versions 25.0.0 alpha1 Vulnerable ·Electronjs

Remediation

  • Fix · CNA electron (electron) Fixed in 22.3.6, 23.2.3, 24.0.1, 25.0.0-alpha.2
  • Fix · GHSA-p7v2-p9m8-qqg7 electron (npm) Fixed in 22.3.6 Advisory →
  • Fix · GHSA-p7v2-p9m8-qqg7 electron (npm) Fixed in 23.2.3 Advisory →
  • Fix · GHSA-p7v2-p9m8-qqg7 electron (npm) Fixed in 24.0.1 Advisory →
  • Fix · GHSA-p7v2-p9m8-qqg7 electron (npm) Fixed in 25.0.0-alpha.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-29198
  2. 2026-10-03 Alias added: GHSA-p7v2-p9m8-qqg7

References

  • TI-2026-39496 Information disclosure in electron-builder CVSS 4.0HIGH 8.2
  • TI-2024-26621 Code Signing Bypass on Windows in electron-updater < 6.3.0-alpha.6 CVSS 3.1HIGH 7.5
  • TI-2023-09452 Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled in Electron CVSS 3.1CRITICAL 9.8
  • TI-2026-39157 Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow CVSS 4.0CRITICAL 9.3
  • TI-2017-09308 GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration… CVSS 3.0HIGH 8.1
  • TI-2022-11788 Exposure of Resource to Wrong Sphere in Electron CVSS 3.1CRITICAL 9.8
See all 74 →

Sources