# CVE-2023-30609: matrix-react-sdk vulnerable to HTML injection in search results via plaintext message highlighting

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-04-25 · Modified: 2025-02-03
- Aliases: GHSA-xv83-x443-7rmw, openSUSE-SU-2024:12884-1, openSUSE-SU-2024:12895-1, ALPINE-CVE-2023-30609
- Record: https://cvemate.com/vulnerability/CVE-2023-30609 · JSON: https://cvemate.com/vulnerability/CVE-2023-30609/json

## Description

```text
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.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:L
- EPSS: 0.617%, percentile 51.005%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine element-web (Alpine Linux): \< 1.11.30-r0
- alpine riot-web (Alpine Linux): \< 1.11.30-r0
- matrix-org matrix-react-sdk: \< 3.71.0
- matrix-react-sdk\_project matrix-react-sdk: \< 3.71.0
- Npm matrix-react-sdk (Npm): \< 3.71.0
- opensuse element-desktop&distro=openSUSE Tumbleweed (openSUSE): \< 1.11.30-1.1
- opensuse element-web&distro=openSUSE Tumbleweed (openSUSE): \< 1.11.30-1.1

## References

- <https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-xv83-x443-7rmw>
- <https://github.com/matrix-org/matrix-react-sdk/commit/bf182bc94556849d7acdfa0e5fdea2aa129ea826>
- <https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.71.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-30609>
- <https://github.com/matrix-org/matrix-react-sdk>
- <https://www.suse.com/security/cve/CVE-2023-30609>
- <https://security.alpinelinux.org/vuln/CVE-2023-30609>

---

Data as of 2026-12-05T05:33:26.157Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
