Vulnerability

CVE-2025-59160

lowCVSS 4.0 2.7Published 16 Sep 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Matrix JavaScript SDK is a Matrix Client-Server SDK for JavaScript and TypeScript. matrix-js-sdk before 38.2.0 has insufficient validation of room predecessor links in MatrixClient::getJoinedRooms, allowing a remote attacker to attempt to replace a tombstoned room with an unrelated attacker-supplied room. The issue has been patched and users should upgrade to 38.2.0. A workaround is to avoid using MatrixClient::getJoinedRooms in favor of getRooms() and filtering upgraded rooms separately.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /matrix-org/matrix-js-sdk/commit/43c72d5bf5e2d0a26b3b4f7109…
  • github.com /matrix-org/matrix-js-sdk/security/advisories/GHSA-mp7c-m3r…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning