
CVE catalog
CVE-2025-59160
UBUNTU-CVE-2025-59160
- Severity
- Unknown
- Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.24% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-matrix-js-sdk | 11 | 9.11.0+~cs9.9.16-1 | vulnerable |
| Debian | node-matrix-js-sdk | 11 | 9.11.0+~cs9.9.16-2 | vulnerable |
| Debian | node-matrix-js-sdk | 11 | 9.3.0+~cs9.9.16-2 | vulnerable |
| Debian | node-matrix-js-sdk | 11 | 9.7.0~~rc1+~cs9.9.16-1 | vulnerable |
| Debian | node-matrix-js-sdk | 11 | 9.7.0~~rc1+~cs9.9.16-2 | vulnerable |
| Ubuntu | node-matrix-js-sdk | 20.04 | 0.9.2-1 | vulnerable |
| Ubuntu | node-matrix-js-sdk | 22.04 | 9.3.0+~cs9.9.16-2 | vulnerable |
| Ubuntu | node-matrix-js-sdk | 22.04 | 9.11.0+~cs9.9.16-1 | vulnerable |
| Ubuntu | node-matrix-js-sdk | 24.04 | 9.11.0+~cs9.9.16-2 | vulnerable |
Fixed-version evidence
OpenFactory catalog packages
No matching packages in this catalog.
Observed: