SecurityContext

CVE-2025-59160: Matrix JavaScript SDK - Broken Access Control

  • Cve: CVE-2025-59160
  • Name: Matrix JavaScript SDK - Broken Access Control
  • 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.
  • Impact: Remote attackers can attempt to replace tombstoned rooms with unrelated attacker-supplied rooms, potentially causing confusion or data integrity issues.
  • Remediation: Upgrade to version 38.2.0 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 2.7
  • 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00243
  • Epss percentile: 0.15449
  • Assignee: [email protected]
  • Published at: 2025-09-16T17:15:41Z
  • Age in days: 434
  • Modified at: 2026-06-17T09:45:38Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-59160
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-345Insufficient Verification of Data Authenticity

References

UrlSourceTags
https://github.com/matrix-org/matrix-js-sdk/commit/43c72d5bf5e2d0a26b3b4f71092e7cb39d4137c4nvd
https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-mp7c-m3rh-r56vnvd

Products

ProductAffectedPlatform boundSourcesUrl
matrix:javascript_sdk< 38.2.0nocna_alias_text/v1/products/matrix/javascript_sdk

Projects

RepositoryLink kindsIndexedUrl
matrix-org/matrix-js-sdkcommit, fix, package, releases, security_advisoryyes/v1/repositories/matrix-org/matrix-js-sdk

Index

  • Repositories: 2
  • Repositories high signal: 1
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts