CVEvulnerability
CVE-2021-21320
4.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-03-02
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 2.6 LOW — CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N
- CVSS 3.1 ([email protected])
- 4.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-345
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.
Affected configurations
• matrix-react-sdk project matrix-react-sdk (< 3.15.0)
Related
Weakness · CWE (1)
- CWE-345 Insufficient Verification of Data Authenticity weakness
References
- https://github.com/matrix-org/matrix-react-sdk/commit/b386f0c73b95ecbb6ea7f8f79c6ff5171a8dedd1 Patch, Third Party Advisory
- https://github.com/matrix-org/matrix-react-sdk/pull/5657 Patch, Third Party Advisory
- https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-52mq-6jcv-j79x Third Party Advisory
- https://www.npmjs.com/package/matrix-react-sdk Product, Third Party Advisory
- https://github.com/matrix-org/matrix-react-sdk/commit/b386f0c73b95ecbb6ea7f8f79c6ff5171a8dedd1 Patch, Third Party Advisory
- https://github.com/matrix-org/matrix-react-sdk/pull/5657 Patch, Third Party Advisory
- https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-52mq-6jcv-j79x Third Party Advisory
- https://www.npmjs.com/package/matrix-react-sdk Product, Third Party Advisory