Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-C676BB1B-E3F8-11ED-B37B-901B0E9408DC (CVE-2023-30609): element-web -- matrix-react-sdk vulnerable to HTML injection in search results via plaintext message highlighting

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-C676BB1B-E3F8-11ED-B37B-901B0E9408DC (CVE-2023-30609): element-web -- matrix-react-sdk vulnerable to HTML injection in search results via plaintext message highlighting

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
04/25/2023
Created
05/05/2023
Added
04/26/2023
Modified
05/10/2023

Description

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.

Solution(s)

  • freebsd-upgrade-package-element-web

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;