{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-32622","published":"2021-05-17T20:15:07.527000Z","last_modified":"2026-06-17T03:53:17.460000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-74","CWE-434"],"cpes":[{"criteria":"cpe:2.3:a:matrix-react-sdk_project:matrix-react-sdk:*:*:*:*:*:node.js:*:*","part":"a","vendor":"matrix-react-sdk_project","product":"matrix-react-sdk","version_end_excluding":"3.21.0"}],"cpes_truncated":false,"vendors":["matrix-react-sdk_project"],"products":["matrix-react-sdk_project/matrix-react-sdk"],"epss":{"score":0.00373,"percentile":0.23291,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8796-gc9j-63rv","ecosystem":"npm","name":"matrix-react-sdk","purl":"pkg:npm/matrix-react-sdk","ranges":[{"introduced":"0","fixed":"3.21.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-cg57-p69r-3m7p","ecosystem":"npm","name":"matrix-react-sdk","purl":"pkg:npm/matrix-react-sdk","ranges":[{"introduced":"0","fixed":"3.21.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2021-32622/","html_en":"/en/cve/CVE-2021-32622/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32622","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32622"},"untrusted":{"vendor_name":"Matrix-react-sdk Project","product_name":"Matrix-react-sdk","desc_en":"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.","affected":[{"untrusted_vendor":"matrix-org","untrusted_product":"matrix-react-sdk","versions":[]}],"references":[{"url":"https://github.com/matrix-org/matrix-react-sdk/pull/5981","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-8796-gc9j-63rv","tags":["Patch","Third Party Advisory"]}]}}