logo

CVE-2021-32622 matrix-react-sdk

Package

Manager: npm
Name: matrix-react-sdk
Vulnerable Version: >=0 <3.21.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

EPSS: 0.00174 pctl0.39179

Details

Improper file handling in matrix-react-sdk 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.

Metadata

Created: 2022-02-10T23:46:51Z
Modified: 2021-05-19T17:48:44Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-cg57-p69r-3m7p/GHSA-cg57-p69r-3m7p.json
CWE IDs: ["CWE-434", "CWE-74"]
Alternative ID: GHSA-cg57-p69r-3m7p
Finding: F027
Auto approve: 1