GHSA-xv83-x443-7rmw

    Dashboard / Vulnerabilities / GHSA-xv83-x443-7rmw

    GHSA-xv83-x443-7rmw

    Published: 25 Apr 2023Last Modified: 8 Nov 2023

    Summary: HTML injection in search results via plaintext message highlighting

    Details: ### Impact Plain text messages containing HTML tags are rendered as HTML in the search results. To exploit this, an attacker needs to trick a user into searching for a specific message containing an HTML injection payload. Cross-site scripting is possible by including resources from `recaptcha.net` and `gstatic.com` which are included in the default CSP. Thanks to [Cadence Ember](https://cadence.moe/) for finding the injection and to [S1m](https://github.com/p1gp1g/) for finding possible XSS vectors. ### Patches Version 3.71.0 of the SDK fixes the issue. ### Workarounds Restarting the client will clear the injection.

    Affected packages

    Package

    Name: matrix-react-sdk

    Purl: pkg:npm/matrix-react-sdk

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -3.71.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-xv83-x443-7rmw | CVE-DB