CVE-2025-59160 - CVE House
Back to Database
Status published Low CVE-2025-59160

matrix-js-sdk has insufficient validation when considering a room to be upgraded by another

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-59160

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

matrix-js-sdk
Vulnerable Versions:
< 38.2.0

Timeline

Official Publish: September 16th, 2025
Last Modified: September 16th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)