Skip to content

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

MediumCVSS 6.5 EPSS 0.43%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
matrix-react-sdk < 3.105.1 3.105.1 Fixed
npm matrix-react-sdk(npm) < 3.105.1 3.105.1 Fixed
matrix-org matrix-react-sdk = < 3.105.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm matrix-react-sdk(npm) < 3.105.1 3.105.1
matrix-org matrix-react-sdk = < 3.105.1 No fix listed
matrix-react-sdk < 3.105.1 3.105.1

References