cve.bz

CVE-2025-59160

2.7 lowEPSS 0.2%

Low (2.7). EPSS 0.2% chance of exploitation in the next 30 days. Fixed in matrix-js-sdk 38.2.0.

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.

Severity

CVSS 4.0

2.7 low
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
EPSS
0.2% chance of exploitation in the next 30 days; higher than 15% of CVEs (scores of 2026-11-01)
CWE
CWE-345
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mp7c-m3rh-r56vnpmmatrix-js-sdk<38.2.038.2.0

References

Check your stackJSON