Read the docs
TI-2021-22645 Aliases GHSA-8796-gc9j-63rv

File upload local preview can run embedded scripts after user interaction

Priority LOW 38CWE-74Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

### Impact When uploading a file, the local file preview can lead to execution of scripts embedded in the uploaded file, but only 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. ### Patches This has been fixed by https://github.com/matrix-org/matrix-react-sdk/pull/5981, which is included in 3.21.0. ### Workarounds There are no known workarounds.

Why it matters now

Fix Fixed matrix-react-sdk (npm): 3.21.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—matrix-react-sdk (npm)before 3.21.03.21.0Patch availableGHSA-8796-gc9j-63rv
  • matrix-react-sdk (npm) Vendor— Affected before 3.21.0 Fixed in 3.21.0 Patch available GHSA-8796-gc9j-63rv

Remediation

  • Fix · GHSA-8796-gc9j-63rv matrix-react-sdk (npm) Fixed in 3.21.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-8796-gc9j-63rv

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences