{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-59160","published":"2025-09-16T17:15:41.590000Z","last_modified":"2026-06-17T09:45:38.993000Z","status":"Deferred","cvss":{"version":"4.0","score":2.7,"severity":"LOW","vector":"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","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-345"],"cpes":[],"cpes_truncated":false,"vendors":["matrix-org"],"products":["matrix-org/matrix-js-sdk"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-mp7c-m3rh-r56v","ecosystem":"npm","name":"matrix-js-sdk","purl":"pkg:npm/matrix-js-sdk","ranges":[{"introduced":"0","fixed":"38.2.0"}],"versions":[],"versions_truncated":false}],"severity":"low","priority_score":31,"links":{"html_es":"/es/cve/CVE-2025-59160/","html_en":"/en/cve/CVE-2025-59160/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-59160","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-59160"},"untrusted":{"vendor_name":"matrix-org","product_name":"matrix-js-sdk","desc_en":"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.","affected":[{"untrusted_vendor":"matrix-org","untrusted_product":"matrix-js-sdk","versions":[]}],"references":[{"url":"https://github.com/matrix-org/matrix-js-sdk/commit/43c72d5bf5e2d0a26b3b4f71092e7cb39d4137c4","tags":[]},{"url":"https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-mp7c-m3rh-r56v","tags":[]}]}}