~ / search / GHSA-52mq-6jcv-j79x

GHSA-52mq-6jcv-j79x

User content sandbox can be confused into opening arbitrary documents

Source: GitHub Advisory Database (reviewed) Low CVE-2021-21320

Packages

EcosystemPackageAffectedFixed in
npm matrix-react-sdk < 3.15.0 3.15.0

Details

As written in the advisory (Markdown source, shown as plain text).

### Impact The user content sandbox can be abused to trick users into opening unexpected documents after several user interactions. The content can be opened with a `blob` origin from the Matrix client, so it is possible for a malicious document to access user messages and secrets. ### Patches This has been fixed by https://github.com/matrix-org/matrix-react-sdk/pull/5657, which is included in 3.15.0. ### Workarounds There are no known workarounds.

References

External links from the advisory. They lead to third-party sites.