CVE-2021-32622
MEDIUM4.2EPSS 0.17%Improper file handling in matrix-react-sdk
發布日:2021/5/17修改日:2026/3/13
描述
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.
受影響套件(2)
- npm/matrix-react-sdkfrom 0, < 3.21.0
- npm/matrix-react-sdkfrom 0, < 3.21.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-32622
- PATCHhttps://github.com/matrix-org/matrix-react-sdk
- WEBhttps://github.com/matrix-org/matrix-react-sdk/pull/5981
- WEBhttps://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-8796-gc9j-63rv
- WEBhttps://www.npmjs.com/package/matrix-react-sdk