Security mailing lists by PureSourceCode

CVE-2023-29198

HIGH 8.5CVSS 3.1

Electron context isolation bypass via nested unserializable return value

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
6 Sep 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-754
Also known as
GHSA-p7v2-p9m8-qqg7
Sources
NVDJSONOSV GHSA-p7v2-p9m8-qqg7JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 6.0 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD electronjs electron
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
< 22.3.6 22.3.6
NVD electronjs electron
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
>= 23.0.0, < 23.2.3 23.2.3
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:-:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:alpha1:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:alpha2:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:alpha3:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:alpha4:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:alpha5:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:alpha6:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:alpha7:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:beta1:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:beta2:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:beta3:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:beta4:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:beta5:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:beta6:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:24.0.0:beta7:*:*:*:node.js:*:*
= 24.0.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:25.0.0:alpha1:*:*:*:node.js:*:*
= 25.0.0
OSV npm electron < 22.3.6 22.3.6
OSV npm electron >= 23.0.0-alpha.1, < 23.2.3 23.2.3
OSV npm electron >= 24.0.0-alpha.1, < 24.0.1 24.0.1
OSV npm electron >= 25.0.0-alpha.1, < 25.0.0-alpha.2 25.0.0-alpha.2

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 6 Sep 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Sep 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.