CVE-2021-32622Injection in Matrix-react-sdk

Severity
7.8HIGHNVD
CNA4.2
EPSS
0.2%
top 61.16%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 17
Latest updateFeb 10

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 vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages3 packages

Patches

🔴Vulnerability Details

3
OSV
Improper file handling in matrix-react-sdk2022-02-10
GHSA
Improper file handling in matrix-react-sdk2022-02-10
CVEList
File upload local preview can run embedded scripts after user interaction2021-05-17
CVE-2021-32622 — Injection in Matrix-react-sdk | cvebase