CVE-2024-42347
MEDIUM 6.5CVSS 3.1Matrix SDK for React's URL preview setting for a room is controllable by the homeserver
matrix-react-sdk is a react-based SDK for inserting a Matrix chat/voip client into a web page. A malicious homeserver could manipulate a user's account data to cause the client to enable URL previews in end-to-end encrypted rooms, in which case any URLs in encrypted messages would be sent to the server. This was patched in matrix-react-sdk 3.105.0. Deployments that trust their homeservers, as well as closed federations of trusted servers, are not affected. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Published
- 6 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-359
- Also known as
- GHSA-f83w-wqhc-cfp4
- Sources
- NVDJSONOSV GHSA-f83w-wqhc-cfp4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/U:Red | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | matrix | matrix-react-sdkcpe:2.3:a:matrix:matrix-react-sdk:*:*:*:*:*:*:*:* |
< 3.105.1 | 3.105.1 |
| OSV | npm | matrix-react-sdk | < 3.105.1 | 3.105.1 |
References
- https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.105.1 · Release Notes, WEB
- https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-f83w-wqhc-cfp4 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-42347 · ADVISORY
- https://github.com/matrix-org/matrix-react-sdk · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 6 Aug 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Aug 2024)