CVE-2021-32622

CVE-2021-32622 is a medium-severity vulnerability in Matrix-react-sdk Project Matrix-react-sdk with a CVSS 3.x base score of 4.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-434.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2021-32622?
CVE-2021-32622 has a CVSS 3.x base score of 4.2, rated medium severity. It is exploitable over local access with high attack complexity, requires low privileges and user interaction. Impact on confidentiality is low, integrity low, and availability low.
Is CVE-2021-32622 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (29th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2021-32622?
CVE-2021-32622 affects Matrix-react-sdk Project Matrix-react-sdk. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2021-32622?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2021-32622 published?
CVE-2021-32622 was published on 2021-05-17 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Matrix-react-sdk Project Matrix-react-sdk

All CVEs affecting Matrix-react-sdk Project Matrix-react-sdk →

Other CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities

Browse all CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities →