Skip to content
Fencer Intel
high 7.7

CVE-2024-42347 json

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

published 2y ago modified 4mo ago also EUVD-2024-2571 , GHSA-f83w-wqhc-cfp4

cvss
7.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 37%
public exploits
0
none known

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.

Patch / fix

  • npm matrix-react-sdk 3.105.1
  • matrix-react-sdk_project matrix-react-sdk 3.105.1
  • matrix matrix-react-sdk 3.105.1
  • matrix react_sdk 3.105.1
  • element-desktop openSUSE Tumbleweed 1.11.73-1.1
  • element-web openSUSE Tumbleweed 1.11.73-1.1

opensuse advisories openSUSE-SU-2024:14273-1openSUSE-SU-2024:14242-1

Is CVE-2024-42347 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2y ago

Exploit prediction

0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CNA 3.1 7.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
GitHub 3.1 4.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
npm matrix-react-sdk
<3.105.1
3.105.1

Affected products

  • matrix-org matrix-react-sdk

Classification

Weakness
  • CWE-359 Exposure of Private Personal Information to an Unauthorized Actor

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.