{"id":"EUVD-2021-2232","enisaUuid":"f46fa696-e31f-3183-9291-78d08da54cf0","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\u0027s 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\u0027s app. One may also disable the functionality of the `createThumbnailFromPath` API if one does not need it.","datePublished":"Oct 12, 2021, 7:05:11 PM","dateUpdated":"Aug 4, 2024, 1:58:18 AM","baseScore":6.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","references":"https://github.com/electron/electron/security/advisories/GHSA-mpjm-v997-c4h4\nhttps://github.com/electron/electron/pull/30728\n","aliases":"CVE-2021-39184\nGHSA-mpjm-v997-c4h4\n","assigner":"GitHub_M","epss":1.05,"enisaIdProduct":[{"id":"2e5499a9-b225-3f89-8972-77cdc0c2d41b","product":{"name":"electron","vendor":{"name":"electron"}},"product_version":"12.0.0, \u003c 12.1.0"},{"id":"c8a0a4c3-1818-3cda-b43b-eedff133ddec","product":{"name":"electron","vendor":{"name":"electron"}},"product_version":"13.0.0, \u003c 13.3.0"},{"id":"d1673dea-e5b4-3afd-b9b2-8d672eac080a","product":{"name":"electron","vendor":{"name":"electron"}},"product_version":"\u003c 11.5.0"}],"enisaIdVendor":[{"id":"2ca1870b-27d8-3b77-b484-d337a1e216ce","vendor":{"name":"electron"}}],"enisaIdVulnerability":[{"id":"21d1617c-248b-3b47-bd31-13be355a35fe","vulnerability":{"id":"GHSA-mpjm-v997-c4h4","description":"Electron\u0027s sandboxed renderers can obtain thumbnails of arbitrary files through the nativeImage API","datePublished":"Oct 12, 2021, 9:59:13 PM","dateUpdated":"Aug 11, 2022, 4:56:02 PM","baseScore":null,"references":"https://github.com/electron/electron/security/advisories/GHSA-mpjm-v997-c4h4\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-39184\nhttps://github.com/electron/electron/pull/30728\nhttps://github.com/electron/electron/pull/30728/commits/8fed645bd671f359ee52d806c075ec4e07eda17f\nhttps://github.com/electron/electron\n","enisa_id":"EUVD-2021-2232\n","aliases":"CVE-2021-39184\nGHSA-mpjm-v997-c4h4\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:55 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"36ee23fc-e205-31f6-a26a-84ea926a7b10","vulnerability":{"id":"CVE-2021-39184","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\u0027s 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\u0027s app. One may also disable the functionality of the `createThumbnailFromPath` API if one does not need it.","datePublished":"Oct 12, 2021, 7:05:11 PM","dateUpdated":"Aug 4, 2024, 1:58:18 AM","status":"PUBLISHED","baseScore":6.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","references":"https://github.com/electron/electron/security/advisories/GHSA-mpjm-v997-c4h4\nhttps://github.com/electron/electron/pull/30728\n","enisa_id":"EUVD-2021-2232\n","assigner":"GitHub_M","epss":1.05,"dataProcessed":"Nov 24, 2026, 7:27:05 AM","vulnerabilityProduct":[{"id":"2a6f0bdc-f0ec-3cc2-9ec8-950e9b662bd1","product":{"name":"electron","vendor":{"name":"electron"}},"product_version":"12.0.0, \u003c 12.1.0"},{"id":"8666f1cb-0c3e-3a60-8a1a-4cfffb8e0864","product":{"name":"electron","vendor":{"name":"electron"}},"product_version":"\u003c 11.5.0"},{"id":"c2134a44-677f-36ec-9337-a26fbf52d0ed","product":{"name":"electron","vendor":{"name":"electron"}},"product_version":"13.0.0, \u003c 13.3.0"}],"vulnerabilityVendor":[{"id":"45063b1f-6927-3f36-b4da-0141671e271a","vendor":{"name":"electron"}}]}}],"enisaIdAdvisory":[]}