Insufficient Validation Vulnerability in Matrix JavaScript SDK by Matrix
CVE-2025-59160
What is CVE-2025-59160?
The Matrix JavaScript SDK is susceptible to a security flaw that allows a remote attacker to manipulate room links within the client. Specifically, versions prior to 38.2.0 fail to adequately validate predecessor links in the MatrixClient::getJoinedRooms function. This oversight enables an attacker to attempt to replace a previously tombstoned room with an unrelated room that they control. To mitigate this vulnerability, users are encouraged to update to version 38.2.0 or later. As an interim solution, using the getRooms() function and manually filtering the upgraded rooms is recommended.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
matrix-js-sdk < 38.2.0
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
