CVE-2021-39184
CVE-2021-39184 is a medium-severity vulnerability in Electronjs Electron with a CVSS 3.x base score of 6.8. 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: Medium (CVSS 3.x base score 6.8)
- CVSS v2: 5.0
- EPSS exploit prediction: 1% (63rd 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 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.
Frequently asked questions
- What is CVE-2021-39184?
- 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.
- How severe is CVE-2021-39184?
- CVE-2021-39184 has a CVSS 3.x base score of 6.8, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2021-39184 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (63rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-39184?
- CVE-2021-39184 primarily affects Electronjs Electron. In total, 35 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-39184?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-39184 published?
- CVE-2021-39184 was published on 2021-10-12 and last updated on 2026-06-17.
References
- https://github.com/electron/electron/pull/30728
- https://github.com/electron/electron/security/advisories/GHSA-mpjm-v997-c4h4
Affected products (35)
- 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:*:*:*:*:*:*
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-101000 — Critical (CVSS 10.0): A vulnerability was determined in Netcore NBR100V2 1.3.240614.030928. This affects the function uci.apply of the file…
- CVE-2026-97360 — Critical (CVSS 10.0): HFS2 version 2.4.0 and earlier contains an unauthenticated arbitrary file access vulnerability that allows…
- CVE-2026-65381 — Critical (CVSS 10.0): A validation issue existed in the entitlement verification. This issue was addressed with improved validation of the…
- CVE-2026-81648 — Critical (CVSS 10.0): The CryptoPayment Gateway WordPress plugin from 1.2.1 to 1.2.2 does not apply an authorization check on one of its AJAX…
- CVE-2026-77770 — Critical (CVSS 10.0): The miniOrange 2FA WordPress plugin before 6.3.1, miniOrange 2FA WordPress plugin before 19.3 does not require a…
- CVE-2026-65667 — Critical (CVSS 10.0): Missing authorization in Microsoft Teams allows an unauthorized attacker to elevate privileges over a network.
Browse all CWE-862 (Missing Authorization) vulnerabilities →