CVE-2023-30609
Matrix-react-sdk Project Matrix-react-sdk vulnerability
matrix-react-sdk is a react-based SDK for inserting a Matrix chat/VoIP client into a web page. Prior to version 3.71.0, 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. No cross-site scripting attack is possible due to the hardcoded content security policy. Version 3.71.0 of the SDK patches over the issue. As a workaround, restarting the client will clear the HTML injection.
Affected products
Matrix-react-sdk. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Matrix-react-sdk Project Matrix-react-sdk runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-xv83-x443-7rmw · Vendor Advisory
- github.com/matrix-org/matrix-react-sdk/commit/bf182bc94556849d7acdfa0e5fdea2aa129ea826 · Patch
- github.com/matrix-org/matrix-react-sdk/releases/tag/v3.71.0
- nvd.nist.gov/vuln/detail/CVE-2023-30609
- cve.org/CVERecord?id=CVE-2023-30609
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.