CVE-2021-32622

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:matrix-react-sdk_project:matrix-react-sdk:*:*:*:*:*:node.js:*:*

History

25 May 2021, 18:37

Type Values Removed Values Added
References (CONFIRM) https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-8796-gc9j-63rv - (CONFIRM) https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-8796-gc9j-63rv - Patch, Third Party Advisory
References (MISC) https://github.com/matrix-org/matrix-react-sdk/pull/5981 - (MISC) https://github.com/matrix-org/matrix-react-sdk/pull/5981 - Patch, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 4.4
v3 : 7.8
CPE cpe:2.3:a:matrix-react-sdk_project:matrix-react-sdk:*:*:*:*:*:node.js:*:*
CWE CWE-434

17 May 2021, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-05-17 20:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-32622

Mitre link : CVE-2021-32622

CVE.ORG link : CVE-2021-32622


JSON object : View

Products Affected

matrix-react-sdk_project

  • matrix-react-sdk
CWE
CWE-434

Unrestricted Upload of File with Dangerous Type

CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')