Advisory

GHSA-52mq-6jcv-j79x

Also known as: CVE-2021-21320

Summary

User content sandbox can be confused into opening arbitrary documents

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2021-03-03 02:23 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

matrix-react-sdk

npm · All systems

Affected

  • introduced 0, fixed 3.15.0 (semver)

Fixed versions

3.15.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences