CVE-2023-30609

matrix-react-sdk vulnerable to HTML injection in search results via plaintext message highlighting

MEDIUM
4.7
CVSS Score
Published: April 25, 2023 at 08:58 PM UTC
Updated: June 17, 2026 at 05:55 AM UTC
2 products affected across 2 vendorsMatrix React SDKMatrix React SDK

Using matrix-react-sdk by matrix-org?

Get instant alerts when new vulnerabilities affect matrix-react-sdk - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.7
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.71.0
Affected range stops below 3.71.0, so it looks safe — our inference, not a vendor statement
v < 3.71.0
Affected range stops below 3.71.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-74

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card