Sandboxed renderers can obtain thumbnails of arbitrary files through the nativeImage API
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2021-39184
PublishedElectron 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.
- Source published
- 12 Oct 2021 19:05:11 UTC
- Source modified
- 4 Aug 2024 01:58:18 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 6.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
euvd · EUVD-2021-2232
PublishedElectron 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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Oct 12, 2021, 7:05:11 PM
dateUpdated: Aug 4, 2024, 1:58:18 AM
- Source published
- Oct 12, 2021, 7:05:11 PM (timezone not stated)
- Source modified
- Aug 4, 2024, 1:58:18 AM (timezone not stated)
- Saved here
- 24 Nov 2026 10:30:29 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 6.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
nvd · CVE-2021-39184
PublishedElectron 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.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-668 · CWE-862
Original publisher date fields
published: 2021-10-12T19:15:07.987
lastModified: 2026-06-17T04:03:16.130
35 source CPE criteria · context only
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta1:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta10:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta11:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta12:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta13:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta14:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta15:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta16:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta17:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta18:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta19:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta2:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta20:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta21:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta22:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta23:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta24:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta25:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta3:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta4:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta5:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta6:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta7:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta8:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:14.0.0:beta9:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:15.0.0:alpha1:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:15.0.0:alpha2:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:15.0.0:alpha3:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:15.0.0:alpha4:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:15.0.0:alpha5:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:15.0.0:alpha6:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:15.0.0:alpha7:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:15.0.0:alpha8:*:*:*:*:*:*
- cpe:2.3:a:electronjs:electron:15.0.0:alpha9:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 12 Oct 2021 19:15:07 UTC
- Source modified
- 17 Jun 2026 04:03:16 UTC
- Saved here
- 24 Oct 2026 19:17:25 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 6.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
CVSS 3.1 · [email protected] · Primary · 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CVSS 2.0 · [email protected] · Primary · 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N
osv · GHSA-mpjm-v997-c4h4
Published### Impact This vulnerability 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. All current stable versions of Electron are affected. ### Patches This was fixed with #30728, and the following Electron versions contain the fix: - 15.0.0-alpha.10 - 14.0.0 - 13.3.0 - 12.1.0 - 11.5.0 ### Workarounds If your app enables `contextIsolation`, this vulnerability is significantly more difficult for an attacker to exploit. Further, if your app does not depend on the `createThumbnailFromPath` API, then you can simply disable the functionality. In the main process, before the 'ready' event: ```js delete require('electron').nativeImage.createThumbnailFromPath ``` ### For more information If you have any questions or comments about this advisory, email us at [[email protected]](mailto:[email protected]).
- Source published
- 12 Oct 2021 21:59:13 UTC
- Source modified
- 8 Jul 2026 06:29:30 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Publisher rating · MODERATE