cve.bz

CVE-2022-21718 electronjs electron: Missing Authorization

5.0 mediumEPSS 0.9%Fix available

Medium (5.0) in electronjs electron. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in electron 13.6.6, 14.2.4, 15.3.5.

On this page
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.

Severity

CVSS 3.1

5.0 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-862 Missing Authorization
CWE-668 Exposure of Resource to Wrong Sphere
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-21718 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-21718?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-21718?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-21718 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
electronjs:electronbefore 13.6.6
electronjs:electronfrom 14.0.0 before 14.2.4
electronjs:electronfrom 15.0.0 before 15.3.5
electronjs:electronfrom 16.0.0 before 16.0.6
electronjs:electron17.0.0:alpha1
electronjs:electron17.0.0:alpha2
electronjs:electron17.0.0:alpha3
electronjs:electron17.0.0:alpha4
electronjs:electron17.0.0:alpha5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3p22-ghq8-v749npmelectron<13.6.613.6.6
GHSA-3p22-ghq8-v749npmelectron>=14.0.0-beta.1 <14.2.414.2.4
GHSA-3p22-ghq8-v749npmelectron>=15.0.0-beta.1 <15.3.515.3.5
GHSA-3p22-ghq8-v749npmelectron>=16.0.0-beta.1 <16.0.616.0.6
GHSA-3p22-ghq8-v749npmelectron>=17.0.0-alpha.1 <17.0.0-alpha.617.0.0-alpha.6

Attack patterns (CAPEC)

  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON