SCA: security update for matrix-js-sdk (GHSA-mp7c-m3rh-r56v)

medium Tenable Cloud Security Plugin ID 435335

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2025-59160)

See Also

https://github.com/advisories/GHSA-mp7c-m3rh-r56v

Plugin Details

Severity: Medium

ID: 435335

Version: Revision 1.13

Type: Local

Family: SCA Checks

Published: 9/17/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.67

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2025-59160

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 2.7

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/16/2025

Vulnerability Publication Date: 9/16/2025

Reference Information

CVE: CVE-2025-59160