CVE-2021-21320: User content sandbox can be confused into opening arbitrary documents
Vulnerability summary
CVE-2021-21320 is a medium (CVSS 4.3) vulnerability in matrix-org matrix-react-sdk. EPSS estimates a 0.93% chance of exploitation in the next 30 days, higher than 61.9% of scored vulnerabilities.
Not severe (CVSS 2.6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 02-03-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA2.6LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:NDiffers
- OSV · NpmEcosystem advisory · calculated2.6LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:NDiffers
EPSS trend
Probability
0.93%
Chance of exploitation in the next 30 days
Percentile
62%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.92% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Matrix-org1 product
- matrix-react-sdk< 3.15.0
Matrix-react-sdk_project1 product
- matrix-react-sdk< 3.15.0
Npm1 product
- matrix-react-sdk< 3.15.0
3 vendors · 3 products
References
5 links- github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-52mq-6jcv-j79xX Refsource CONFIRMWEBThird Party Advisory
- github.com/matrix-org/matrix-react-sdk/commit/b386f0c73b95ecbb6ea7f8f79c6ff5171a8dedd1X Refsource MISCWEBPatchThird Party Advisory