cve.bz

CVE-2021-39184 electronjs electron: Missing Authorization

8.6 highEPSS 1.1%Fix available

High (8.6) in electronjs electron. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in electron 11.5.0, 12.1.0, 13.3.0.

On this page
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. A vulnerability in versions prior to 11.5.0, 12.1.0, and 13.3.0 allows a sandboxed renderer to request a "thumbnail" image of an arbitrary file on the user's system. The thumbnail can potentially include significant parts of the original file, including textual data in many cases. Versions 15.0.0-alpha.10, 14.0.0, 13.3.0, 12.1.0, and 11.5.0 all contain a fix for the vulnerability. Two workarounds aside from upgrading are available. One may make the vulnerability significantly more difficult for an attacker to exploit by enabling `contextIsolation` in one's app. One may also disable the functionality of the `createThumbnailFromPath` API if one does not need it.

Severity

CVSS 3.1

8.6 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
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

  • electron (npm): fixed in 11.5.0, 12.1.0, 13.3.0

Ask an AI about this CVE

Show the promptExplain CVE-2021-39184 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-39184?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-39184?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-2021-39184 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:electronfrom 10.1.0 before 11.5.0
electronjs:electronfrom 12.0.0 before 12.1.0
electronjs:electronfrom 13.0.0 before 13.3.0
electronjs:electron14.0.0:beta1
electronjs:electron14.0.0:beta10
electronjs:electron14.0.0:beta11
electronjs:electron14.0.0:beta12
electronjs:electron14.0.0:beta13
electronjs:electron14.0.0:beta14
electronjs:electron14.0.0:beta15
electronjs:electron14.0.0:beta16
electronjs:electron14.0.0:beta17
electronjs:electron14.0.0:beta18
electronjs:electron14.0.0:beta19
electronjs:electron14.0.0:beta2
electronjs:electron14.0.0:beta20
electronjs:electron14.0.0:beta21
electronjs:electron14.0.0:beta22
electronjs:electron14.0.0:beta23
electronjs:electron14.0.0:beta24
electronjs:electron14.0.0:beta25
electronjs:electron14.0.0:beta3
electronjs:electron14.0.0:beta4
electronjs:electron14.0.0:beta5
electronjs:electron14.0.0:beta6
electronjs:electron14.0.0:beta7
electronjs:electron14.0.0:beta8
electronjs:electron14.0.0:beta9
electronjs:electron15.0.0:alpha1
electronjs:electron15.0.0:alpha2
electronjs:electron15.0.0:alpha3
electronjs:electron15.0.0:alpha4
electronjs:electron15.0.0:alpha5
electronjs:electron15.0.0:alpha6
electronjs:electron15.0.0:alpha7
electronjs:electron15.0.0:alpha8
electronjs:electron15.0.0:alpha9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mpjm-v997-c4h4npmelectron<11.5.011.5.0
GHSA-mpjm-v997-c4h4npmelectron>=12.0.0 <12.1.012.1.0
GHSA-mpjm-v997-c4h4npmelectron>=13.0.0 <13.3.013.3.0

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