PT-2025-38058 · Unknown+1 · Matrix-Js-Sdk+1
Davidegirardi
·
Published
2025-01-01
·
Updated
2025-09-17
·
CVE-2025-59160
CVSS v4.0
2.7
Low
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U |
Name of the Vulnerable Software and Affected Versions
matrix-js-sdk versions prior to 38.2.0
Description
The Matrix JavaScript SDK has insufficient validation of room predecessor links in the
MatrixClient::getJoinedRooms function, potentially allowing a remote attacker to replace a tombstoned room with an attacker-supplied room.Recommendations
Upgrade to version 38.2.0.
Avoid using the
MatrixClient::getJoinedRooms function in favor of getRooms() and filter upgraded rooms separately.Exploit
Fix
Insufficient Verification of Data Authenticity
Missing Authorization
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Debian
Matrix-Js-Sdk