Search for vulnerabilities
Vulnerability details: VCID-9e16-vwtt-fygg
Vulnerability ID VCID-9e16-vwtt-fygg
Aliases CVE-2023-29198
GHSA-p7v2-p9m8-qqg7
Summary Electron context isolation bypass via nested unserializable return value ### Impact 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. ### Workarounds This issue is exploitable under either of two conditions: * If an API exposed to the main world via `contextBridge` can return an object or array that contains a JS 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`. * If an API exposed to the main world via `contextBridge` has a return value that throws a user-generated exception while being sent over the bridge, for instance a dynamic getter property on an object that throws an error when being computed. 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](https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support) and that any objects returned from functions do not have dynamic getters that can throw exceptions. Auditing your exposed API is likely to be quite difficult so we strongly recommend you update to a patched version of Electron. ### Fixed Versions * `25.0.0-alpha.2` * `24.0.1` * `23.2.3` * `22.3.6` ### For more information If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)
Status Published
Exploitability 0.5
Weighted Severity 7.7
Risk 3.9
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
epss 0.00072 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00072 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00072 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
epss 0.00148 https://api.first.org/data/v1/epss?cve=CVE-2023-29198
cvssv3.1_qr MODERATE https://github.com/advisories/GHSA-p7v2-p9m8-qqg7
cvssv3.1 6.0 https://github.com/electron/electron
generic_textual MODERATE https://github.com/electron/electron
cvssv3.1 6 https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7
cvssv3.1 6.0 https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7
cvssv3.1_qr MODERATE https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7
generic_textual MODERATE https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7
ssvc Track https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7
cvssv3.1 6.0 https://nvd.nist.gov/vuln/detail/CVE-2023-29198
cvssv3.1 8.5 https://nvd.nist.gov/vuln/detail/CVE-2023-29198
generic_textual MODERATE https://nvd.nist.gov/vuln/detail/CVE-2023-29198
cvssv3.1 6 https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support
cvssv3.1 6.0 https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support
generic_textual MODERATE https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support
ssvc Track https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support
Reference id Reference type URL
https://api.first.org/data/v1/epss?cve=CVE-2023-29198
https://github.com/electron/electron
https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7
https://nvd.nist.gov/vuln/detail/CVE-2023-29198
https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support
cpe:2.3:a:electronjs:electron:24.0.0:alpha1:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:alpha1:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:24.0.0:alpha2:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:alpha2:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:24.0.0:alpha3:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:alpha3:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:24.0.0:alpha4:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:alpha4:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:24.0.0:alpha5:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:alpha5:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:24.0.0:alpha6:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:alpha6:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:24.0.0:alpha7:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:alpha7:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:24.0.0:beta1:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:beta1:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:24.0.0:beta2:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:beta2:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:24.0.0:beta3:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:beta3:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:24.0.0:beta4:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:beta4:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:24.0.0:beta5:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:beta5:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:24.0.0:beta6:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:beta6:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:24.0.0:beta7:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:beta7:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:24.0.0:-:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:24.0.0:-:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:25.0.0:alpha1:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:25.0.0:alpha1:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
GHSA-p7v2-p9m8-qqg7 https://github.com/advisories/GHSA-p7v2-p9m8-qqg7
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L Found at https://github.com/electron/electron
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L Found at https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L Found at https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-26T14:44:07Z/ Found at https://github.com/electron/electron/security/advisories/GHSA-p7v2-p9m8-qqg7
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L Found at https://nvd.nist.gov/vuln/detail/CVE-2023-29198
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2023-29198
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L Found at https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L Found at https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-26T14:44:07Z/ Found at https://www.electronjs.org/docs/latest/api/context-bridge#parameter--error--return-type-support
Exploit Prediction Scoring System (EPSS)
Percentile 0.22783
EPSS Score 0.00072
Published At Aug. 1, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T08:41:19.616764+00:00 GithubOSV Importer Import https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-p7v2-p9m8-qqg7/GHSA-p7v2-p9m8-qqg7.json 37.0.0