CVE-2025-59160

LOW

NPM Matrix-js-sdk < 38.2.0 - Data Authenticity Bypass

Title source: rule
STIX 2.1

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.

Scores

CVSS v4 2.7
EPSS 0.0008
EPSS Percentile 23.7%
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

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-345
Status published
Products (2)
matrix-org/matrix-js-sdk < 38.2.0
npm/matrix-js-sdk 0 - 38.2.0npm
Published Sep 16, 2025
Tracked Since Feb 18, 2026