{"cve":"CVE-2022-21718","nvd":{"published":"2022-03-22T17:15:07.810","modified":"2026-06-17T04:26:50.913","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":5.0},"cwes":["CWE-862","CWE-668"],"references":["https://github.com/electron/electron/pull/32178","https://github.com/electron/electron/pull/32240","https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749","https://github.com/electron/electron/pull/32178","https://github.com/electron/electron/pull/32240"],"products":["electronjs:electron"],"source":"nvd","synced_at":"2026-10-19T21:29:06.454770966+00:00"},"epss":{"cve":"CVE-2022-21718","score":0.00946,"percentile":0.61117,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-3p22-ghq8-v749","url":"https://osv.dev/vulnerability/GHSA-3p22-ghq8-v749","summary":"Renderers can obtain access to random bluetooth device without permission in Electron","modified":"2023-11-08T04:08:09.293794Z","packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":["<13.6.6"],"fixed":["13.6.6"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=14.0.0-beta.1 <14.2.4"],"fixed":["14.2.4"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=15.0.0-beta.1 <15.3.5"],"fixed":["15.3.5"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=16.0.0-beta.1 <16.0.6"],"fixed":["16.0.6"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=17.0.0-alpha.1 <17.0.0-alpha.6"],"fixed":["17.0.0-alpha.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}