CVE-2021-21320: User content sandbox can be confused into opening arbitrary documents

Published Mar 2, 2021
·
Updated

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 Software

1 affected component
Matrix-react-sdk Project Matrix-react-sdk Node.js<3.15.0

Event History

Mar 2, 2021
CVE Published
via MITRE·02:45 AM
Data Sourced
via MITRE·02:45 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-21320?

CVE-2021-21320 is classified as a moderate severity vulnerability.

2

How do I fix CVE-2021-21320?

To fix CVE-2021-21320, upgrade the matrix-react-sdk package to version 3.15.0 or later.

3

What type of vulnerability is CVE-2021-21320?

CVE-2021-21320 is an issue related to unsanitized user content that can exploit the content sandbox.

4

Who is affected by CVE-2021-21320?

Users of matrix-react-sdk versions prior to 3.15.0 are affected by CVE-2021-21320.

5

Can CVE-2021-21320 lead to data exposure?

Yes, CVE-2021-21320 can potentially lead to unauthorized access to unexpected documents.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203