Medium severity · published Nov 12, 2024
CVE-2024-50336
matrix-js-sdk has insufficient MXC URI validation which allows client-side path traversal
5.3
CVSS
0.8%
EPSS
No
On KEV
Description
matrix-js-sdk is a Matrix messaging protocol Client-Server SDK for JavaScript. matrix-js-sdk before 34.11.0 is vulnerable to client-side path traversal via crafted MXC URIs. A malicious room member can trigger clients based on the matrix-js-sdk to issue arbitrary authenticated GET requests to the client's homeserver. Fixed in matrix-js-sdk 34.11.1.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 57% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
matrix-js-sdk · matrix-org
< 34.11.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-50336
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-50336
github.com
https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-xvg8-m4x3-w6xr
spec.matrix.org
https://spec.matrix.org/v1.12/client-server-api/#security-considerations-5
lists.debian.org
https://lists.debian.org/debian-lts-announce/2025/01/msg00004.html
More from matrix-js-sdk
8.7
CVE-2024-47080
matrix-js-sdk keys sent via `sendSharedHistoryKeys` vulnerable to interception by malicious homeserver
7.5
CVE-2022-39250
Matrix JavaScript SDK vulnerable to key/device identifier confusion in SAS verification
5.3
CVE-2024-42369
A room with itself as a its predecessor will freeze matrix-js-sdk
2.7
CVE-2025-59160
matrix-js-sdk has insufficient validation when considering a room to be upgraded by another
