What’s Vulnerable › Vulnerabilities
CVE-2024-42347: URL preview setting for a room is controllable by the homeserver in matrix-react-sdk
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-06 · updated 2026-06-17
- Weakness: CWE-359
Description
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.
Affected products
- Matrix-React-Sdk: before 3.105.1 — fixed in 3.105.1
How to fix
Upgrade to a fixed version: Matrix-React-Sdk 3.105.1. Check the vendor advisory for mitigations.
References
- https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.105.1
- https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-f83w-wqhc-cfp4
Get alerted when CVE-2024-42347 or the next vulnerability affects your stack