Skip to main content
← All vulnerabilities
CVE-2021-32622GHSA-CG57-P69R-3M7PGHSA-8796-GC9J-63RV

File upload local preview can run embedded scripts after user interaction

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.21.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • matrix-org matrix-react-sdk

    fixed in 3.21.0

  • matrix-react-sdknpm

    fixed in 3.21.0

References 2

GitHub · matrix-org/matrix-react-sdk