CVE-2022-21718Renderers can obtain access to random bluetooth device without permission in Electron
- 3.4LowCVSS base score
- 0.95%Exploitation in 30 daysEPSS · top 38% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By GitHub_M
- 4 months later
· 4 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Low3.4 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium5.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.95% · top 38% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.4.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmelectronGHSA-3p22-ghq8-v749 (opens in a new tab)
References
References3
- https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/electron/electron/pull/32178 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/electron/electron/pull/32240 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-1290 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-3p22-ghq8-v749 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-21718)Record last updated .