{"cve":"CVE-2021-39184","nvd":{"published":"2021-10-12T19:15:07.987","modified":"2026-06-17T04:03:16.130","status":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6},"cwes":["CWE-862","CWE-668"],"references":["https://github.com/electron/electron/pull/30728","https://github.com/electron/electron/security/advisories/GHSA-mpjm-v997-c4h4","https://github.com/electron/electron/pull/30728","https://github.com/electron/electron/security/advisories/GHSA-mpjm-v997-c4h4"],"products":["electronjs:electron"],"source":"nvd","synced_at":"2026-10-19T21:24:39.218183596+00:00"},"epss":{"cve":"CVE-2021-39184","score":0.0105,"percentile":0.64285,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-mpjm-v997-c4h4","url":"https://osv.dev/vulnerability/GHSA-mpjm-v997-c4h4","summary":"Electron's sandboxed renderers can obtain thumbnails of arbitrary files through the nativeImage API","modified":"2026-07-08T06:29:30.611712544Z","packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":["<11.5.0"],"fixed":["11.5.0"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=12.0.0 <12.1.0"],"fixed":["12.1.0"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=13.0.0 <13.3.0"],"fixed":["13.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}