CVE-2021-21320

Summary

CVECVE-2021-21320
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-03-02 03:15:00 UTC
Updated2021-03-08 19:39:00 UTC
Descriptionmatrix-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.

Risk And Classification

Problem Types: CWE-345

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Matrix-react-sdk Project Matrix-react-sdk All All All All
Application Matrix-react-sdk Project Matrix-react-sdk All All All All

References

ReferenceSourceLinkTags
User content sandbox can be confused into opening arbitrary documents · Advisory · matrix-org/matrix-react-sdk · GitHub CONFIRM github.com Third Party Advisory
Merge pull request #5657 from matrix-org/t3chguy/usercontent · matrix-org/matrix-react-sdk@b386f0c · GitHub MISC github.com Patch, Third Party Advisory
matrix-react-sdk MISC www.npmjs.com Product, Third Party Advisory
Remove redundant lockOrigin parameter from usercontent by t3chguy · Pull Request #5657 · matrix-org/matrix-react-sdk · GitHub MISC github.com Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 982754 Nodejs (npm) Security Update for matrix-react-sdk (GHSA-52mq-6jcv-j79x)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report