CVE-2024-42347
Matrix SDK for React's URL preview setting for a room is controllable by the homeserver
Impact
### Impact 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. Even if the CVSS score would be 4.1 ([AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N](https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N&version=3.1)) the maintainer classifies this as High severity issue. ### Patches This was patched in matrix-react-sdk 3.105.1. ### Workarounds Deployments that trust their homeservers, as well as closed federations of trusted servers, are not affected. ### References N/A.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | matrix-react-sdk | < 3.105.1 | 3.105.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Matrix | Matrix-React-Sdk | before 3.105.1 |