CVE-2025-59160

EUVD-2025-29628
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
UNKNOWN
---
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 15.78%
Debian logo
Debian Releases
Debian Product
Codename
node-matrix-js-sdk
bullseye
vulnerable
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
node-matrix-js-sdk
focal
needs-triage
jammy
needs-triage
noble
needs-triage
plucky
dne
questing
dne
resolute
dne