{"id":"DEBIAN-CVE-2025-59160","details":"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.","modified":"2026-08-27T23:05:41.454090097Z","published":"2025-09-16T17:15:41.590Z","upstream":["CVE-2025-59160"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-59160"}],"affected":[{"package":{"name":"node-matrix-js-sdk","ecosystem":"Debian:11","purl":"pkg:deb/debian/node-matrix-js-sdk?arch=source&distro=bullseye"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.11.0+~cs9.9.16-1","9.11.0+~cs9.9.16-2","9.3.0+~cs9.9.16-2","9.7.0~~rc1+~cs9.9.16-1","9.7.0~~rc1+~cs9.9.16-2"],"ecosystem_specific":{"urgency":"end-of-life"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-59160.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}