CVE-2024-50336
mediumpriority · track · 0EPSS 0.008 · 57 %ileDEEUNLUSEPSS · scored 2026-10-22
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1.3–5.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (13)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- NCSC-2025-0016Kwetsbaarheden verholpen in Mozilla Firefox en ThunderbirdNL2025-01-15csaf · ncsc_nlNL
Mozilla heeft kwetsbaarheden verholpen in Firefox en Thunderbird (Specifiek voor versies onder 134 en 128.6).
- WID-SEC-W-2024-3685Mozilla Thunderbird: Schwachstelle ermöglicht Path-Traversal AngriffDeutsch2024-12-11csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Mozilla Thunderbird ausnutzen, um einen Path-Traversal Angriff durchzuführen.
- GHSA-xvg8-m4x3-w6xrmatrix-js-sdk has insufficient MXC URI validation which allows client-side path traversal2024-11-12ghsa · osvUS
### Summary 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. ### Details The Matrix specification demands homeservers to [perform validation](https://spec.matrix.org/v1.12/client-server-api/#security-considerations-5) of the `server-name` and `media-id` components of MXC URIs with the intent to prevent path traversal. However, it is not mentioned that a similar check must also be performed on the client to prevent *client-side* path traversal. matrix-js-sdk fails to perform this validation. ### Patches Fixed in matrix-js-sdk 34.11.1. ### Workarounds None. ### References - https://spec.matrix.org/v1.12/client-server-api/#security-considerations-5 - https://blog.doyensec.com/2024/07/02/cspt2csrf.html
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://github.com/matrix-org/matrix-js-sdk/releases/tag/v34.11.1Patchcnnvd
- https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-xvg8-m4x3-w6xrcnnvd
- https://spec.matrix.org/v1.12/client-server-api/#security-considerations-5cnnvd
- https://vigilance.fr/vulnerability/Mozilla-Thunderbird-directory-traversal-via-Matrix-45887cnnvd
- https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-xvg8-m4x3-w6xrenisa_euvd
- https://spec.matrix.org/v1.12/client-server-api/#security-considerations-5enisa_euvd
- https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-xvg8-m4x3-w6xrnvd
- https://lists.debian.org/debian-lts-announce/2025/01/msg00004.htmlnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan