8.6

CVE-2021-39184: Sandboxed renderers can obtain thumbnails of arbitrary files through the nativeImage API

Modified
AliasesGHSA-mpjm-v997-c4h4
Published 12-10-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-39184 is a high (CVSS 8.6) Exposure of Resource to Wrong Sphere vulnerability in electron. EPSS estimates a 1.05% chance of exploitation in the next 30 days, higher than 65.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.6/10
010
High · v3.1 (NVD)
EPSS score
1.05%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 12-10-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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 metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.05%

Chance of exploitation in the next 30 days

Percentile

65%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.05% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Electron1 product
  • electron< 11.5.0 | ≥ 12.0.0, < 12.1.0 | ≥ 13.0.0, < 13.3.0
Electronjs1 product
  • electronEOL≥ 10.1.0, < 11.5.0 | ≥ 12.0.0, < 12.1.0 | ≥ 13.0.0, < 13.3.0 | 14.0.0:beta1 | 14.0.0:beta10 | 14.0.0:beta11 | 14.0.0:beta12 | 14.0.0:beta13 | 14.0.0:beta14 | 14.0.0:beta15 | 14.0.0:beta16 | 14.0.0:beta17 | 14.0.0:beta18 | 14.0.0:beta19 | 14.0.0:beta2 | 14.0.0:beta20 | 14.0.0:beta21 | 14.0.0:beta22 | 14.0.0:beta23 | 14.0.0:beta24 | 14.0.0:beta25 | 14.0.0:beta3 | 14.0.0:beta4 | 14.0.0:beta5 | 14.0.0:beta6 | 14.0.0:beta7 | 14.0.0:beta8 | 14.0.0:beta9 | 15.0.0:alpha1 | 15.0.0:alpha2 | 15.0.0:alpha3 | 15.0.0:alpha4 | 15.0.0:alpha5 | 15.0.0:alpha6 | 15.0.0:alpha7 | 15.0.0:alpha8 | 15.0.0:alpha9
Npm1 product
  • electron< 11.5.0 | ≥ 12.0.0, < 12.1.0 | ≥ 13.0.0, < 13.3.0

3 vendors · 3 products

References

5 links