Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWNnNTctcDY5ci0zbTdw

Improper file handling in matrix-react-sdk

Matrix-React-SDK is a react-based SDK for inserting a Matrix chat/voip client into a web page. Before version 3.21.0, when uploading a file, the local file preview can lead to execution of scripts embedded in the uploaded file. This can only occur after several user interactions to open the preview in a separate tab. This only impacts the local user while in the process of uploading. It cannot be exploited remotely or by other users. This vulnerability is patched in version 3.21.0.

Permalink: https://github.com/advisories/GHSA-cg57-p69r-3m7p
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWNnNTctcDY5ci0zbTdw
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 2 years ago
Updated: over 1 year ago


CVSS Score: 4.2
CVSS vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L

Identifiers: GHSA-cg57-p69r-3m7p, CVE-2021-32622
References: Repository: https://github.com/matrix-org/matrix-react-sdk
Blast Radius: 7.9

Affected Packages

npm:matrix-react-sdk
Dependent packages: 7
Dependent repositories: 78
Downloads: 3,293 last month
Affected Version Ranges: < 3.21.0
Fixed in: 3.21.0
All affected versions: 0.0.1, 0.0.2, 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.8.9, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5, 0.10.6, 0.10.7, 0.11.0, 0.11.1, 0.11.2, 0.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.0, 3.51.0, 3.52.0, 3.53.0, 3.54.0, 3.55.0, 3.56.0, 3.57.0, 3.58.0, 3.58.1, 3.59.0, 3.59.1, 3.60.0, 3.61.0, 3.62.0, 3.63.0, 3.64.0, 3.64.1, 3.64.2, 3.65.0, 3.66.0, 3.67.0, 3.68.0, 3.69.0, 3.69.1, 3.70.0, 3.71.0, 3.71.1, 3.72.0, 3.73.0, 3.73.1, 3.74.0, 3.75.0, 3.76.0, 3.77.0, 3.77.1, 3.78.0, 3.79.0, 3.80.0, 3.80.1, 3.81.0, 3.81.1, 3.82.0, 3.83.0, 3.84.0, 3.84.1, 3.85.0, 3.86.0, 3.87.0, 3.88.0, 3.89.0, 3.90.0, 3.91.0, 3.92.0, 3.93.0, 3.94.0, 3.95.0, 3.96.0, 3.96.1, 3.97.0, 3.98.0