# CVE-2024-50336: matrix-js-sdk has insufficient MXC URI validation which allows client-side path traversal

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Published: 2024-11-12T16:38:53.164Z
- Modified: 2026-06-17T08:04:15.457Z
- Also known as: GHSA-xvg8-m4x3-w6xr
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- matrix-org matrix-js-sdk: < 34.11.1
- matrix-js-sdk (npm): before 34.11.1

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N`

## References

- <https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-xvg8-m4x3-w6xr> (web)
- <https://spec.matrix.org/v1.12/client-server-api/#security-considerations-5> (web)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00004.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-50336> (advisory)
- <https://github.com/matrix-org/matrix-js-sdk> (package)

## Sources

- CVE List: [CVE-2024-50336](https://www.cve.org/CVERecord?id=CVE-2024-50336), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-xvg8-m4x3-w6xr](https://github.com/advisories/GHSA-xvg8-m4x3-w6xr), CC-BY-4.0, modified 2025-11-04
- NVD: [CVE-2024-50336](https://nvd.nist.gov/vuln/detail/CVE-2024-50336), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50336 · Whole record: https://cve.day/CVE-2024-50336.json · Rebuilt by cve.day 2026-11-25T22:58:48.099Z
