CVE-2024-50336: matrix-js-sdk has insufficient MXC URI validation which allows client-side path traversal
Affects matrix-js-sdkSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 34.11.1 when convenient.
Data as of 31 Oct 2026, 01:26 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 5.3 |
|---|
- Patch
- Available – fixed in 34.11.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 30 Oct 2026.
What to do
Upgrade matrix-js-sdk to 34.11.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmmatrix-js-sdk | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade matrix-js-sdk to version 34.11.1 or later, where the vulnerability is fixed. There are no known workarounds. Applying the official patch is the recommended remediation.
Description
matrix-js-sdk versions before 34.11.1 contain a client-side path traversal vulnerability via crafted MXC URIs. This flaw allows a malicious room member to cause clients using the SDK to send arbitrary authenticated GET requests to the client's homeserver. The vulnerability arises because the SDK does not validate the server-name and media-id components of MXC URIs on the client side, contrary to the Matrix specification's security considerations. The issue is fixed in version 34.11.1.
References
- github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-xvg8-m4x3-w6xr (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2024-50336 (opens in a new tab)
- github.com/matrix-org/matrix-js-sdk (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00004.html (opens in a new tab)
- spec.matrix.org/v1.12/client-server-api/ (opens in a new tab)