Vulnerability · Published Mar 2, 2021 · Assigned by GitHub_M
CVE-2021-21320User content sandbox can be confused into opening arbitrary documents
Low 2.6
In plain English
A low-severity insufficient verification of data authenticity in matrix-react-sdk from matrix-org. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | matrix-react-sdk | 3.15.0 | GHSA-52mq-6jcv-j79x |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| matrix-org | matrix-react-sdk | < 3.15.0 |
Weakness: CWE-345 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N
References
- https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-52mq-6jcv-j79x x_refsource_CONFIRM
- https://github.com/matrix-org/matrix-react-sdk/pull/5657 x_refsource_MISC
- https://github.com/matrix-org/matrix-react-sdk/commit/b386f0c73b95ecbb6ea7f8f79c6ff5171a8dedd1 x_refsource_MISC
- https://www.npmjs.com/package/matrix-react-sdk x_refsource_MISC