# CVE-2024-42347: URL preview setting for a room is controllable by the homeserver in matrix-react-sdk

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 51% of CVEs (2026-11-30)
- Published: 2024-08-06T14:12:45.000Z
- Modified: 2026-06-17T07:49:18.140Z
- Also known as: GHSA-f83w-wqhc-cfp4
- Weaknesses: CWE-359
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- matrix-org matrix-react-sdk: < 3.105.1
- matrix-react-sdk (npm): before 3.105.1
- matrix matrix-react-sdk: before 3.105.1

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 4.1 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-f83w-wqhc-cfp4> (vendor-advisory, web)
- <https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.105.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-42347> (advisory)
- <https://github.com/matrix-org/matrix-react-sdk> (package)

## Sources

- CVE List: [CVE-2024-42347](https://www.cve.org/CVERecord?id=CVE-2024-42347), CVE Terms of Use, modified 2024-08-08
- GitHub Advisory Database: [GHSA-f83w-wqhc-cfp4](https://github.com/advisories/GHSA-f83w-wqhc-cfp4), CC-BY-4.0, modified 2024-08-08
- NVD: [CVE-2024-42347](https://nvd.nist.gov/vuln/detail/CVE-2024-42347), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42347 · Whole record: https://cve.day/CVE-2024-42347.json · Rebuilt by cve.day 2026-11-25T22:58:44.063Z
