Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-59160— matrix-js-sdk has insufficient validation when considering a room to be upgraded by another

Quick assessment

Affected
matrix-org matrix-js-sdk
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

matrix-js-sdk是Matrix开源的一个应用组件。 matrix-js-sdk 38.2.0之前版本存在数据伪造问题漏洞,该漏洞源于MatrixClient::getJoinedRooms中房间前驱链接验证不足,可能导致攻击者用无关房间替换已废弃房间。

AI Predicted 7.5 Difficulty: Easy EPSS 0.24% · P14

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-59160

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
matrix-js-sdk has insufficient validation when considering a room to be upgraded by another
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对数据真实性的验证不充分
Source: CVE Program / CVE List V5
Vulnerability Title
matrix-js-sdk 数据伪造问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
matrix-js-sdk是Matrix开源的一个应用组件。 matrix-js-sdk 38.2.0之前版本存在数据伪造问题漏洞,该漏洞源于MatrixClient::getJoinedRooms中房间前驱链接验证不足,可能导致攻击者用无关房间替换已废弃房间。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
matrix-org matrix-js-sdk < 38.2.0 -

II. Public POCs for CVE-2025-59160

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-59160

请登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-59160

No comments yet


Leave a comment