CVE-2021-21320
Matrix-react-sdk Project Matrix-react-sdk vulnerability
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.
Affected products
Matrix-react-sdk. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Matrix-react-sdk Project Matrix-react-sdk runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/matrix-org/matrix-react-sdk/commit/b386f0c73b95ecbb6ea7f8f79c6ff5171a8dedd1 · Patch
- github.com/matrix-org/matrix-react-sdk/pull/5657 · Patch
- github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-52mq-6jcv-j79x · Third Party Advisory
- www.npmjs.com/package/matrix-react-sdk · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-21320
- cve.org/CVERecord?id=CVE-2021-21320
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.