Skip to content
Fencer Vulns
medium 5.4

CVE-2023-30609 json

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

published 2023-04-25 3 y ago modified 2026-06-17 4 mo ago also GHSA-xv83-x443-7rmw , EUVD-2023-1433

cvss
5.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 49%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm matrix-react-sdk 3.71.0
  • matrix-react-sdk_project matrix-react-sdk 3.71.0
  • element-web openSUSE Tumbleweed 1.11.30-1.1
  • element-desktop openSUSE Tumbleweed 1.11.30-1.1

opensuse advisories openSUSE-SU-2024:12884-1openSUSE-SU-2024:12895-1

  • riot-web Alpine 3.17 1.11.30-r0
  • element-web Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 1.11.30-r0

alpine advisories ALPINE-CVE-2023-30609

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
21 mo ago

Exploit prediction

0.62% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:L
NVD 3.1 4.7 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
GitHub 3.1 8.2 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L

Affected packages

ecosystem package affected fixed in
npm matrix-react-sdk
<3.71.0
3.71.0

Affected products

  • matrix-org matrix-react-sdk

Classification

Weakness
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.