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.

Severity (CVSS 3.1)2.6Low
Exploit odds (30 days)0.9%top 39.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npmmatrix-react-sdk3.15.0GHSA-52mq-6jcv-j79x

Affected products (as reported)

VendorProductVersions
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