Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Sandboxed renderers can obtain thumbnails of arbitrary files through the nativeImage API

CVSS 3.1 6.8 MEDIUMEUVD CVSS 3.1 6.8 CVSS 3.1 · [email protected] · Secondary 6.8 MEDIUMCVSS 3.1 · [email protected] · Primary 8.6 HIGHCVSS 2.0 · [email protected] · Primary 5.0 MEDIUMCVSS_V3 Publisher rating MODERATEFixed by electron 11.5.0Fixed by electron 12.1.0Fixed by electron 13.3.0KEV status unknown

cve-program · CVE-2021-39184

Published

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.

Read the publisher's advisory

euvd · EUVD-2021-2232

Published

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.

Read the publisher's advisory

nvd · CVE-2021-39184

Published

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.

Read the publisher's advisory

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]).

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2021-39184

Published

electron

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "electron",
                    "vendor": "electron",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "< 11.5.0"
                        },
                        {
                            "status": "affected",
                            "version": ">= 12.0.0, < 12.1.0"
                        },
                        {
                            "status": "affected",
                            "version": ">= 13.0.0, < 13.3.0"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2021-2232

Published

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

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2021-39184

Published

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.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-mpjm-v997-c4h4

Published

electron

npm

SEMVER · introduced 0 → fixed 11.5.0

electron

npm

SEMVER · introduced 12.0.0 → fixed 12.1.0

electron

npm

SEMVER · introduced 13.0.0 → fixed 13.3.0

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 25 Nov 16:42 UTC · 276 of 278 readable · 271 fully read · documentation 469/469 current