GitHub Advisoryadvisory · npm

GHSA-52mq-6jcv-j79x User content sandbox can be confused into opening arbitrary documents

LOW Published 2021-03-03 Modified 2021-04-14 Official page ↗
Aliases
CVE-2021-21320
Ecosystem
npm
Packages
matrix-react-sdk
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N
Weaknesses
CWE-345
Reviewed
2021-03-02

Affected packages

• npm matrix-react-sdk: < 3.15.0 → fixed in 3.15.0

Description

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.

Related

Alias · CVE (1)

  • CVE-2021-21320 matrix-react-sdk is an npm package which is a Matrix SDK for React Javascript. vulnerability

Weakness · CWE (1)

  • CWE-345 Insufficient Verification of Data Authenticity weakness

References