CVE-2023-30609 MEDIUM

CVE-2023-30609: matrix-react-sdk vulnerable to HTML injection in search results via plaintext message highlighting

Vendor Matrix-Org
Product matrix-react-sdk
Weakness CWE-74
Published April 25, 2023
Last update February 3, 2025

CVSS base score

5.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality None
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 25, 2023 CVE published
February 3, 2025 Record updated