CVE-2023-30609: matrix-react-sdk vulnerable to HTML injection in search results via plaintext message highlighting
Vulnerability summary
CVE-2023-30609 is a medium (CVSS 5.4) vulnerability in matrix-org matrix-react-sdk. EPSS estimates a 0.62% chance of exploitation in the next 30 days, higher than 51% of scored vulnerabilities.
Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 25-04-2023PublishedVulnerability first disclosed.
- 03-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · NpmEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:LDiffers
- NVDNIST4.7MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:NDiffers
EPSS trend
Probability
0.62%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.62% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine2 products
- element-web< 1.11.30-r0
- riot-web< 1.11.30-r0
Opensuse2 products
- element-desktop&distro=openSUSE Tumbleweed< 1.11.30-1.1
- element-web&distro=openSUSE Tumbleweed< 1.11.30-1.1
Matrix-org1 product
- matrix-react-sdk< 3.71.0
Matrix-react-sdk_project1 product
- matrix-react-sdk< 3.71.0
Npm1 product
- matrix-react-sdk< 3.71.0
5 vendors · 7 products
References
7 links- github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-xv83-x443-7rmwX Refsource CONFIRMWEBVendor Advisory
- github.com/matrix-org/matrix-react-sdk/commit/bf182bc94556849d7acdfa0e5fdea2aa129ea826X Refsource MISCWEBPatch