CVE 2.7 LOW

matrix-js-sdk has insufficient validation when considering a room to be upgraded by another_CVE-2025-59160

2.7 / 10
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

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.

Basic Information

ID CVE-2025-59160
Source GitHub_M
Published Sep 16, 2025 at 16:37

Affected Product

Vendor matrix-org
Product matrix-js-sdk
Version < 38.2.0
Affected Versions matrix-org matrix-js-sdk < 38.2.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.