CVE-2025-59160 — Insufficient Verification of Data Authenticity in Matrix-js-sdk
Severity
2.7LOWNVD
EPSS
0.1%
top 75.33%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedSep 16
Description
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.
CVSS 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
Affected Packages2 packages
🔴Vulnerability Details
4CVEList▶
matrix-js-sdk has insufficient validation when considering a room to be upgraded by another↗2025-09-16
OSV▶
matrix-js-sdk has insufficient validation when considering a room to be upgraded by another↗2025-09-16
OSV▶
CVE-2025-59160: Matrix JavaScript SDK is a Matrix Client-Server SDK for JavaScript and TypeScript↗2025-09-16
GHSA▶
matrix-js-sdk has insufficient validation when considering a room to be upgraded by another↗2025-09-16
📋Vendor Advisories
1Debian▶
CVE-2025-59160: node-matrix-js-sdk - Matrix JavaScript SDK is a Matrix Client-Server SDK for JavaScript and TypeScrip...↗2025