CVE-2025-59160
Expert Analysis
Professional remediation guidance
Get tailored security recommendations from our analyst team for CVE-2025-59160. We'll provide specific mitigation strategies based on your environment and risk profile.
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.
Available Exploits
Related News
Affected Products
Affected Versions:
EU Vulnerability Database
Monitored by ENISA for EU cybersecurity
ENISA Analysis
matrix-js-sdk has insufficient validation when considering a room to be upgraded by another
Affected Products (ENISA)
ENISA Scoring
CVSS Score (4.0)
EPSS Score
ENISA References
Data provided by ENISA EU Vulnerability Database. Last updated: September 16, 2025
GitHub Security Advisories
Community-driven vulnerability intelligence from GitHub
matrix-js-sdk has insufficient validation when considering a room to be upgraded by another
GHSA-mp7c-m3rh-r56vAdvisory Details
Affected Packages
CVSS Scoring
CVSS Score
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/E:U
References
Advisory provided by GitHub Security Advisory Database. Published: September 16, 2025, Modified: September 16, 2025