7.8

CVE-2021-32622: File upload local preview can run embedded scripts after user interaction

Modified
AliasesGHSA-8796-gc9j-63rvGHSA-cg57-p69r-3m7p
Published 17-05-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-32622 is a high (CVSS 7.8) vulnerability in matrix-org matrix-react-sdk. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 33.3% of scored vulnerabilities.

Priority
Routine

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

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.37%
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. 17-05-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

Matrix-React-SDK is a react-based SDK for inserting a Matrix chat/voip client into a web page. Before version 3.21.0, when uploading a file, the local file preview can lead to execution of scripts embedded in the uploaded file. This can only occur after several user interactions to open the preview in a separate tab. This only impacts the local user while in the process of uploading. It cannot be exploited remotely or by other users. This vulnerability is patched in version 3.21.0.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.37%

Chance of exploitation in the next 30 days

Percentile

33%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.37% 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: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Matrix-org1 product
Matrix-react-sdk_project1 product
Npm1 product
  • matrix-react-sdk< 3.21.0

3 vendors · 3 products

References

5 links