Low

User content sandbox can be confused into opening arbitrary documents

  • Disclosed: 03.03.2021
  • Updated: 11.10.2026 10:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package matrix-react-sdk < 3.15.0 3.15.0

References

CVSS score 2.6/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N
Weakness (CWE)
CWE-345
Platform
npm
Package
matrix-react-sdk
Disclosed
03.03.2021
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-52mq-6jcv-j79x - CC BY 4.0

Vulnerability history: matrix-react-sdk

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
8
First → latest
03.2021 10.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 4
  • Medium 3
  • Low 1

Disclosures per year

  1. 2021: 2
  2. 2022: 0
  3. 2023: 4
  4. 2024: 2
  5. 2025: 0
  6. 2026: 0
  1. Medium · 6.1 CVE-2023-37259 >= 3.32.0, < 3.76.0 3.76.0
  2. High · 8.2 CVE-2023-30609 < 3.71.0 3.71.0
  3. High · 8.2 CVE-2023-28103 < 3.69.0 3.69.0
  4. High · 7.2 CVE-2022-36060 < 3.53.0 3.53.0
  5. Medium · 4.2 CVE-2021-32622 < 3.21.0 3.21.0
  6. User content sandbox can be confused into opening arbitrary documents this entry
    Low · 2.6 CVE-2021-21320 < 3.15.0 3.15.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.