Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-xys1-xe1s-jqha
Vulnerability ID VCID-xys1-xe1s-jqha
Aliases CVE-2022-21718
GHSA-3p22-ghq8-v749
Summary Exposure of Resource to Wrong Sphere Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. A vulnerability in versions prior to `17.0.0-alpha.6`, `16.0.6`, `15.3.5`, `14.2.4`, and `13.6.6` allows renderers to obtain access to a bluetooth device via the web bluetooth API if the app has not configured a custom `select-bluetooth-device` event handler. This has been patched and Electron versions `17.0.0-alpha.6`, `16.0.6`, `15.3.5`, `14.2.4`, and `13.6.6` contain the fix. Code from the GitHub Security Advisory can be added to the app to work around the issue.
Status Published
Exploitability 0.5
Weighted Severity 3.1
Risk 1.6
Affected and Fixed Packages Package Details
Weaknesses (4)
System Score Found at
epss 0.00848 https://api.first.org/data/v1/epss?cve=CVE-2022-21718
epss 0.00848 https://api.first.org/data/v1/epss?cve=CVE-2022-21718
epss 0.00848 https://api.first.org/data/v1/epss?cve=CVE-2022-21718
epss 0.00848 https://api.first.org/data/v1/epss?cve=CVE-2022-21718
epss 0.00848 https://api.first.org/data/v1/epss?cve=CVE-2022-21718
epss 0.00848 https://api.first.org/data/v1/epss?cve=CVE-2022-21718
epss 0.00848 https://api.first.org/data/v1/epss?cve=CVE-2022-21718
epss 0.00848 https://api.first.org/data/v1/epss?cve=CVE-2022-21718
epss 0.00848 https://api.first.org/data/v1/epss?cve=CVE-2022-21718
epss 0.00848 https://api.first.org/data/v1/epss?cve=CVE-2022-21718
epss 0.00848 https://api.first.org/data/v1/epss?cve=CVE-2022-21718
epss 0.00848 https://api.first.org/data/v1/epss?cve=CVE-2022-21718
epss 0.00848 https://api.first.org/data/v1/epss?cve=CVE-2022-21718
epss 0.00848 https://api.first.org/data/v1/epss?cve=CVE-2022-21718
cvssv3.1_qr LOW https://github.com/advisories/GHSA-3p22-ghq8-v749
cvssv3.1 3.4 https://github.com/electron/electron
generic_textual LOW https://github.com/electron/electron
cvssv3.1 3.4 https://github.com/electron/electron/pull/32178
generic_textual LOW https://github.com/electron/electron/pull/32178
cvssv3.1 3.4 https://github.com/electron/electron/pull/32240
generic_textual LOW https://github.com/electron/electron/pull/32240
cvssv3.1 3.4 https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749
cvssv3.1_qr LOW https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749
generic_textual LOW https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749
cvssv3.1 3.4 https://nvd.nist.gov/vuln/detail/CVE-2022-21718
generic_textual LOW https://nvd.nist.gov/vuln/detail/CVE-2022-21718
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N 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:L/PR:H/UI:R/S:C/C:L/I:N/A:N Found at https://github.com/electron/electron/pull/32178
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:L/PR:H/UI:R/S:C/C:L/I:N/A:N Found at https://github.com/electron/electron/pull/32240
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:L/PR:H/UI:R/S:C/C:L/I:N/A:N Found at https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749
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:L/PR:H/UI:R/S:C/C:L/I:N/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2022-21718
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

Exploit Prediction Scoring System (EPSS)
Percentile 0.74811
EPSS Score 0.00848
Published At April 2, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-04-01T12:49:44.005754+00:00 GitLab Importer Import https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/electron/CVE-2022-21718.yml 38.0.0