All CVEs / Matrix-react-sdk Project
CVE-2021-32622Matrix-react-sdk Project Matrix-react-sdk
High 7.8
Follow: this CVE · Matrix-react-sdk Project · Matrix-react-sdk Project Matrix-react-sdk We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 23
- Auth required
- Yes
- Published
- May 17, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Matrix-react-sdk.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | matrix-react-sdk |
< 3.21.0 |
3.21.0 |
npm install matrix-react-sdk@3.21.0 |
| npm | matrix-react-sdk |
< 3.21.0 |
3.21.0 |
npm install matrix-react-sdk@3.21.0 |
Per OSV / GitHub Advisories (GHSA-8796-gc9j-63rv, GHSA-cg57-p69r-3m7p). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| matrix-react-sdk_project | matrix-react-sdk | < 3.21.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory