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.
References (2)
Core 2
Core References
Patch, Third Party Advisory x_refsource_confirm
https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-8796-gc9j-63rv
Patch, Third Party Advisory x_refsource_misc
https://github.com/matrix-org/matrix-react-sdk/pull/5981
Scores
CVSS v3
4.2
EPSS
0.0017
EPSS Percentile
38.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
Details
CWE
CWE-74
CWE-434
Status
published
Products (2)
matrix-react-sdk_project/matrix-react-sdk
< 3.21.0
npm/matrix-react-sdk
0 - 3.21.0npm
Published
May 17, 2021
Tracked Since
Feb 18, 2026