GHSA-8796-gc9j-63rv

    Dashboard / Vulnerabilities / GHSA-8796-gc9j-63rv

    GHSA-8796-gc9j-63rv

    Published: 17 May 2021Last Modified: 8 Jul 2026

    Summary: File upload local preview can run embedded scripts after user interaction

    Details: ### 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.

    Affected packages

    Package

    Name: matrix-react-sdk

    Purl: pkg:npm/matrix-react-sdk

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -3.21.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-8796-gc9j-63rv | CVE-DB