CVE-2022-21718
CVE-2022-21718 is a low-severity vulnerability in Electronjs Electron with a CVSS 3.x base score of 3.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-862.
Key facts
- Severity: Low (CVSS 3.x base score 3.4)
- CVSS v2: 4.0
- EPSS exploit prediction: 1% (56th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-862
- Affected product: Electronjs Electron
- Published:
- Last 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.
Frequently asked questions
- What is CVE-2022-21718?
- 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.
- How severe is CVE-2022-21718?
- CVE-2022-21718 has a CVSS 3.x base score of 3.4, rated low severity. It is exploitable over network with low attack complexity, requires high privileges and user interaction. Impact on confidentiality is low, integrity none, and availability none.
- Is CVE-2022-21718 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (56th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-21718?
- CVE-2022-21718 primarily affects Electronjs Electron. In total, 6 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2022-21718?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2022-21718 published?
- CVE-2022-21718 was published on 2022-03-22 and last updated on 2026-06-17.
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
Affected products (6)
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:17.0.0:alpha1:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:17.0.0:alpha2:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:17.0.0:alpha3:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:17.0.0:alpha4:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:17.0.0:alpha5:*:*:*:*:*:*
More vulnerabilities in Electronjs Electron
- CVE-2017-16151 — Critical (CVSS 9.8): Based on details posted by the ElectronJS team; A remote code execution vulnerability has been discovered in Google…
- CVE-2018-1000118 — High (CVSS 8.8): Github Electron version Electron 1.8.2-beta.4 and earlier contains a Command Injection vulnerability in Protocol…
- CVE-2026-34780 — High (CVSS 8.3): Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From versions…
- CVE-2026-34774 — High (CVSS 8.1): Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to…
- CVE-2018-15685 — High (CVSS 8.1): GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and…
- CVE-2018-1000136 — High (CVSS 8.1): Electron version 1.7 up to 1.7.12; 1.8 up to 1.8.3 and 2.0.0 up to 2.0.0-beta.3 contains an improper handling of values…
All CVEs affecting Electronjs Electron →
Other CWE-862 (Missing Authorization) vulnerabilities
- CVE-2026-0092 — Critical (CVSS 10.0): In Package Manager, there is a possible device lock controller bypass due to a missing permission check. This could…
- CVE-2026-33712 — Critical (CVSS 10.0): Typebot is a chatbot builder tool. In versions 3.15.2 and prior, the preview chat endpoint (POST…
- CVE-2026-2031 — Critical (CVSS 10.0): An Improper Access Control vulnerability in several internal API endpoints for Google Cloud Application Integration…
- CVE-2026-34976 — Critical (CVSS 10.0): Dgraph is an open source distributed GraphQL database. Prior to 25.3.1, the restoreTenant admin mutation is missing…
- CVE-2025-30416 — Critical (CVSS 10.0): Sensitive data disclosure and manipulation due to missing authorization. The following products are affected: Acronis…
- CVE-2025-45854 — Critical (CVSS 10.0): /server/executeExec of JEHC-BPM 2.0.1 allows attackers to execute arbitrary code via execParams.
Browse all CWE-862 (Missing Authorization) vulnerabilities →