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.
{
"cwe_ids": [
"CWE-434",
"CWE-74"
],
"github_reviewed": true,
"github_reviewed_at": "2021-05-19T17:48:44Z",
"nvd_published_at": "2021-05-17T20:15:00Z",
"severity": "MODERATE"
}