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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| matrix-org | matrix-react-sdk | < 3.71.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | element-web +1 | 1.11.30-1.1 | openSUSE-SU-2024:12895-1, openSUSE-SU-2024:12884-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | element-web | 1.11.30-r0 | — |
| Alpine v3.23 | element-web | 1.11.30-r0 | — |
| Alpine v3.22 | element-web | 1.11.30-r0 | — |
| Alpine v3.21 | element-web | 1.11.30-r0 | — |
| Alpine v3.20 | element-web | 1.11.30-r0 | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | element-web | 1.11.30-r0 | — |
| Alpine v3.18 | element-web | 1.11.30-r0 | — |
| Alpine v3.17 | riot-web | 1.11.30-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | matrix-react-sdk | < 3.71.0 | 3.71.0 | GHSA-xv83-x443-7rmw |
Advisories 2
- openSUSE-SU-2024:12895-1 element-desktop-1.11.30-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12884-1 element-web-1.11.30-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026