CVE-2024-42347

URL preview setting for a room is controllable by the homeserver in matrix-react-sdk

Published Aug 6, 2024 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2571 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.
Github GHSA Github GHSA GHSA-f83w-wqhc-cfp4 Matrix SDK for React's URL preview setting for a room is controllable by the homeserver
History
Type Values Removed Values Added
First Time appeared Matrix
Matrix matrix-react-sdk
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:matrix:matrix-react-sdk:*:*:*:*:*:*:*:*
Vendors & Products Matrix
Matrix matrix-react-sdk
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title URL preview setting for a room is controllable by the homeserver in matrix-react-sdk
Weaknesses CWE-359
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 8, 2024, 6:48 PM
Reserved
Jul 30, 2024, 2:01 PM
Status
Analyzed
Published
Aug 6, 2024, 6:15 PM
Modified
Jun 17, 2026, 7:49 AM