VDB

CVE-2023-30609

CVE-2023-30609 PUBLISHED CVSS 5.4 MEDIUM

HTML injection in search results via plaintext message highlighting

Reported by github_m · Published April 25, 2023

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
element-webAlpine1.11.30-r0
matrix-react-sdkmatrix-react-sdk_project3.71.0

Risk scores

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

Affected products

VendorProductVersions
matrix-orgmatrix-react-sdk< 3.71.0
alpineelement-web0
matrix-orgmatrix-react-sdk0
alpineriot-web0
npmmatrix-react-sdk0

Timeline

  • Apr 25, 2023 CVE Published
  • Apr 26, 2023 EPSS Score (30 in total, the first dated here)
  • Apr 26, 2023 PoC Published
  • Nov 8, 2023 CVE Updated
  • Mar 10, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-30609
vulnetix vdb fixes CVE-2023-30609

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-30609/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›