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% (59th 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% (59th 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-0092 — Critical (CVSS 10.0): In Package Manager, there is a possible device lock controller bypass due to a missing permission check. This could…
- CVE-2026-33712 — Critical (CVSS 10.0): Typebot is a chatbot builder tool. In versions 3.15.2 and prior, the preview chat endpoint (POST…
- CVE-2026-2031 — Critical (CVSS 10.0): An Improper Access Control vulnerability in several internal API endpoints for Google Cloud Application Integration…
- CVE-2026-34976 — Critical (CVSS 10.0): Dgraph is an open source distributed GraphQL database. Prior to 25.3.1, the restoreTenant admin mutation is missing…
- CVE-2025-30416 — Critical (CVSS 10.0): Sensitive data disclosure and manipulation due to missing authorization. The following products are affected: Acronis…
- CVE-2025-45854 — Critical (CVSS 10.0): /server/executeExec of JEHC-BPM 2.0.1 allows attackers to execute arbitrary code via execParams.
Browse all CWE-862 (Missing Authorization) vulnerabilities →