CVE-2023-30609
MEDIUM 4.7CVSS 3.1HTML injection in search results via plaintext message highlighting
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.
- Published
- 25 Apr 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-74CWE-79
- Also known as
- GHSA-xv83-x443-7rmw
- Sources
- NVDJSONOSV GHSA-xv83-x443-7rmwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | matrix-react-sdk_project | matrix-react-sdkcpe:2.3:a:matrix-react-sdk_project:matrix-react-sdk:*:*:*:*:*:node.js:*:* |
< 3.71.0 | 3.71.0 |
| OSV | npm | matrix-react-sdk | < 3.71.0 | 3.71.0 |
References
- 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://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-xv83-x443-7rmw · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-30609 · ADVISORY
- https://github.com/matrix-org/matrix-react-sdk · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 25 Apr 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Apr 2023)