{"id":"CVE-2024-42347","aliases":["CVE-2024-42347","GHSA-f83w-wqhc-cfp4"],"related":[],"kind":"vulnerability","state":"published","title":"URL preview setting for a room is controllable by the homeserver in matrix-react-sdk","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nA 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.\n\nEven 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.\n\n### Patches\nThis was patched in matrix-react-sdk 3.105.1.\n\n### Workarounds\nDeployments that trust their homeservers, as well as closed federations of trusted servers, are not affected.\n\n### References\nN/A.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Matrix-react-sdk es un SDK basado en reacción para insertar un cliente de chat/voip Matrix en una página web. Un servidor doméstico malicioso podría manipular los datos de la cuenta de un usuario para hacer que el cliente habilite vistas previas de URL en salas cifradas de extremo a extremo, en cuyo caso cualquier URL de los mensajes cifrados se enviaría al servidor. Esto fue parcheado en Matrix-react-sdk 3.105.0. Las implementaciones que confían en sus servidores domésticos, así como las federaciones cerradas de servidores confiables, no se ven afectadas. Se recomienda a los usuarios que actualicen. No se conocen workarounds para esta vulnerabilidad.","source":"nvd"}],"published":"2024-08-06T14:12:45.000Z","modified":"2026-06-17T07:49:18.140Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N","score":4.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-359"],"affected":[{"ranges":[{"version":"< 3.105.1","status":"affected"}],"vendor":"matrix-org","product":"matrix-react-sdk","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.105.1"}],"ecosystem":"npm","package":"matrix-react-sdk","purl":"pkg:npm/matrix-react-sdk","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.105.1"}],"vendor":"matrix","product":"matrix-react-sdk","cpe":"cpe:2.3:a:matrix:matrix-react-sdk:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-f83w-wqhc-cfp4","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.105.1","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42347","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/matrix-org/matrix-react-sdk","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-08-08T18:48:06.721Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42347","url":"https://www.cve.org/CVERecord?id=CVE-2024-42347","licence":"CVE Terms of Use","modified":"2024-08-08T18:48:19.919Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f83w-wqhc-cfp4","url":"https://github.com/advisories/GHSA-f83w-wqhc-cfp4","licence":"CC-BY-4.0","modified":"2024-08-08T16:38:00.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42347","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42347","licence":"Public domain","modified":"2026-06-17T07:49:18.140Z"}],"updatedAt":"2026-11-25T22:58:44.063Z","epss":{"score":0.00751,"percentile":0.5124,"date":"2026-11-30T12:00:22.000Z"}}