Generated remediation guidance and an executive summary. No account required.
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.
Cite this page
CVE-2022-21718. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2022-21718
Use CWE-668, Electronjs vendor hub and Electron product page to widen CVE-2022-21718 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2026-34780, CVE-2026-34774 and CVE-2026-34771 for nearby disclosures in the same product family.