Skip to main content
CVE-2025-59160VulnerabilityPublished Updated

Node matrix js sdk: matrix-js-sdk before 38.2.0 has insufficient validation of room predecessor links in

Affects node-matrix-js-sdkSource GCVE Database

0
Compare
Authoritative record:CVE-2025-59160· Low 2.7

Not known to be exploited · CVSS 2.7 Low · fixed in 38.2.0 : update node-matrix-js-sdk when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
2.7Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 15% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 38.2.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSnode-matrix-js-sdkpkg:deb/ubuntu/node-matrix-js-sdk?arch=source&distro=nobleOther threatsAffected
  • =9.11.0+~cs9.9.16-2
Fixed in–
Ubuntu 22.04 LTSnode-matrix-js-sdkpkg:deb/ubuntu/node-matrix-js-sdk?arch=source&distro=jammyOther threatsAffected
  • =9.3.0+~cs9.9.16-2
  • =9.11.0+~cs9.9.16-1
Fixed in–
Ubuntu 20.04 LTSnode-matrix-js-sdkpkg:deb/ubuntu/node-matrix-js-sdk?arch=source&distro=focalOther threatsAffected
  • =0.9.2-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…