{"id":"EUVD-2022-0961","enisaUuid":"b8f9eab8-de1c-3045-afd0-1b83e06fe34e","description":"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.","datePublished":"May 17, 2021, 7:35:11 PM","dateUpdated":"Aug 3, 2024, 11:25:30 PM","baseScore":4.2,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L","references":"https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-8796-gc9j-63rv\nhttps://github.com/matrix-org/matrix-react-sdk/pull/5981\n","aliases":"CVE-2021-32622\nGHSA-cg57-p69r-3m7p\n","assigner":"GitHub_M","epss":0.37,"enisaIdProduct":[{"id":"1caf0fc6-f218-3eb0-a67b-18700ffd26b9","product":{"name":"matrix-react-sdk","vendor":{"name":"matrix-org"}},"product_version":"\u003c 3.21.0"}],"enisaIdVendor":[{"id":"42d7b00e-dd4b-3450-8e6f-e7c420682090","vendor":{"name":"matrix-org"}}],"enisaIdVulnerability":[{"id":"4d23c118-30b7-377f-a546-aa1f96bcec06","vulnerability":{"id":"CVE-2021-32622","description":"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.","datePublished":"May 17, 2021, 7:35:11 PM","dateUpdated":"Aug 3, 2024, 11:25:30 PM","status":"PUBLISHED","baseScore":4.2,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L","references":"https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-8796-gc9j-63rv\nhttps://github.com/matrix-org/matrix-react-sdk/pull/5981\n","enisa_id":"EUVD-2022-0961\n","assigner":"GitHub_M","epss":0.37,"dataProcessed":"Nov 24, 2026, 7:26:19 AM","vulnerabilityProduct":[{"id":"a7bc9ea8-afa2-3aac-9f6a-259a5beeb08b","product":{"name":"matrix-react-sdk","vendor":{"name":"matrix-org"}},"product_version":"\u003c 3.21.0"}],"vulnerabilityVendor":[{"id":"863d50e4-f5a4-3444-bc03-0498e52de54b","vendor":{"name":"matrix-org"}}]}},{"id":"f1cb7155-deb2-3355-a2be-9c12ca474986","vulnerability":{"id":"GHSA-cg57-p69r-3m7p","description":"Improper file handling in matrix-react-sdk","datePublished":"Feb 10, 2022, 11:46:51 PM","dateUpdated":"May 19, 2021, 5:48:44 PM","baseScore":null,"references":"https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-8796-gc9j-63rv\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-32622\nhttps://github.com/matrix-org/matrix-react-sdk/pull/5981\nhttps://www.npmjs.com/package/matrix-react-sdk\n","enisa_id":"EUVD-2022-0961\n","aliases":"CVE-2021-32622\nGHSA-cg57-p69r-3m7p\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:07:35 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}