{"id":"CVE-2024-50336","published":"2024-11-12T16:38:53Z","modified":"2025-11-03T22:28:21Z","title":"matrix-js-sdk has insufficient MXC URI validation which allows client-side path traversal","vendor":"matrix-org","product":"matrix-js-sdk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00979,"percentile":0.60957,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-xvg8-m4x3-w6xr","tags":["x_refsource_CONFIRM"]},{"url":"https://spec.matrix.org/v1.12/client-server-api/#security-considerations-5","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00004.html","tags":[]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":12.19},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"matrix-org","affectedVersions":[{"vendor":"matrix-org","product":"matrix-js-sdk","versions":["< 34.11.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-12T17:11:23.624645Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"matrix-js-sdk","vulnerableRanges":["<34.11.1"],"patched":["34.11.1"],"from":["GHSA-xvg8-m4x3-w6xr"],"provenance":"source"}],"summary":{"text":"The matrix-js-sdk JavaScript client library, which is used to build Matrix messaging clients, does not sufficiently validate MXC URIs, allowing a path traversal flaw in client-side handling of those URIs. An attacker who is a member of a room can craft MXC URIs that cause a client built on the SDK to send arbitrary authenticated GET requests to its own homeserver, requiring only low-privilege network access to a shared room with no user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:52Z"},"euvd":{"id":"EUVD-2024-3335","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-29529","published":"2023-04-14","fixed":"24.1.0","kev":false},{"cve":"CVE-2024-42369","published":"2024-08-20","fixed":"34.3.1","kev":false},{"cve":"CVE-2024-47080","published":"2024-10-15","fixed":"34.8.0","kev":false,"link":{"from":"CVE-2024-47080","to":"CVE-2024-50336","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:matrix-js-sdk","fromFixed":"34.8.0","toFixed":"34.11.1","daysApart":28}]}},{"cve":"CVE-2024-50336","published":"2024-11-12","fixed":"34.11.1","kev":false},{"cve":"CVE-2025-59160","published":"2025-09-16","fixed":"38.2.0","kev":false}],"package":"npm:matrix-js-sdk"}}