5

CVE-2022-21718: electron Exposure of Resource to Wrong Sphere

CVSS: 5.0v3.1MediumModified
AliasesGHSA-3p22-ghq8-v749
Published 22-03-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-21718 is a medium (CVSS 5.0) Exposure of Resource to Wrong Sphere vulnerability in electron. EPSS estimates a 0.95% chance of exploitation in the next 30 days, higher than 60.5% of scored vulnerabilities.

Overall risk
20/100
0100
Low · default modelHow is this calculated?
CVSS score
5.0/10
010
Medium · v3.1 (NVD)
EPSS score
0.95%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 22-03-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

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 metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.95%

Chance of exploitation in the next 30 days

Percentile

61%

Versus all other CVEs

30-day change

0.00 pp

From 0.95% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.95%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Electron1 product
  • electron< 13.6.6 | ≥ 14.0.0-beta.1, < 14.2.4 | ≥ 15.0.0-beta.1, < 15.3.5 | ≥ 16.0.0-beta.1, < 16.0.6 | ≥ 17.0.0-alpha.1, ≤ 17.0.0-alpha.5
Electronjs1 product
  • electronEOL< 13.6.6 | ≥ 14.0.0, < 14.2.4 | ≥ 15.0.0, < 15.3.5 | ≥ 16.0.0, < 16.0.6 | 17.0.0:alpha1 | 17.0.0:alpha2 | 17.0.0:alpha3 | 17.0.0:alpha4 | 17.0.0:alpha5
Npm1 product
  • electron< 13.6.6 | ≥ 14.0.0-beta.1, < 14.2.4 | ≥ 15.0.0-beta.1, < 15.3.5 | ≥ 16.0.0-beta.1, < 16.0.6 | ≥ 17.0.0-alpha.1, < 17.0.0-alpha.6

3 vendors · 3 products

References

5 links