CVE-2025-59160

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.
CVSS

No CVSS.

Configurations

No configuration.

History

16 Sep 2025, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-16 17:15

Updated : 2025-09-17 14:18


NVD link : CVE-2025-59160

Mitre link : CVE-2025-59160

CVE.ORG link : CVE-2025-59160


JSON object : View

Products Affected

No product.

CWE
CWE-345

Insufficient Verification of Data Authenticity