All CVEs / Matrix-react-sdk Project
CVE-2021-21320Matrix-react-sdk Project Matrix-react-sdk
Medium 4.3 No auth needed
Follow: this CVE · Matrix-react-sdk Project · Matrix-react-sdk Project Matrix-react-sdk We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 3.1
- 4.3
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 62
- Auth required
- No
- Published
- Mar 2, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-345
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
What happens
matrix-react-sdk is an npm package which is a Matrix SDK for React Javascript. In matrix-react-sdk before version 3.15.0, the user content sandbox can be abused to trick users into opening unexpected documents. The content is opened with a `blob` origin that cannot access Matrix user data, so messages and secrets are not at risk. This has been fixed in version 3.15.0.
What to do
- Apply the vendor's security update for Matrix-react-sdk.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | matrix-react-sdk |
< 3.15.0 |
3.15.0 |
npm install matrix-react-sdk@3.15.0 |
Per OSV / GitHub Advisories (GHSA-52mq-6jcv-j79x). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| matrix-react-sdk_project | matrix-react-sdk | < 3.15.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
- github.com Third Party Advisory
- www.npmjs.com Product Third Party Advisory