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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 50% of CVEs (2026-12-01)
- Published: 2023-04-25T19:48:11.000Z
- Modified: 2026-06-17T05:55:07.830Z
- Also known as: GHSA-xv83-x443-7rmw
- Weaknesses: CWE-74, CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- matrix-org matrix-react-sdk: < 3.71.0
- matrix-react-sdk (npm): before 3.71.0
- matrix-react-sdk_project matrix-react-sdk: before 3.71.0

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:L`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N`

## References

- <https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-xv83-x443-7rmw> (vendor-advisory, web)
- <https://github.com/matrix-org/matrix-react-sdk/commit/bf182bc94556849d7acdfa0e5fdea2aa129ea826> (patch, web)
- <https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.71.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-30609> (advisory)
- <https://github.com/matrix-org/matrix-react-sdk> (package)

## Sources

- CVE List: [CVE-2023-30609](https://www.cve.org/CVERecord?id=CVE-2023-30609), CVE Terms of Use, modified 2025-02-03
- GitHub Advisory Database: [GHSA-xv83-x443-7rmw](https://github.com/advisories/GHSA-xv83-x443-7rmw), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-30609](https://nvd.nist.gov/vuln/detail/CVE-2023-30609), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-30609 · Whole record: https://cve.day/CVE-2023-30609.json · Rebuilt by cve.day 2026-11-25T22:58:23.754Z
