CVEfocus › CVE database › CVE-2024-50336

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

CVSS 5.3 MediumEPSS 1.0% (higher than 61% of CVEs)Published 2024-11-12Updated 2025-11-03Assigner: GitHub_M

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.

CWE-22

What to do

Fixed builds are available from Debian, Ubuntu, npm: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
4Fix pending
2Under investigation
6Will not fix
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04firefoxNot affected
vulnerable_code_not_present
Ubuntu 26.04thunderbirdNot affected
vulnerable_code_not_present
Ubuntu 25.10firefoxNot affected
vulnerable_code_not_present
Ubuntu 25.10thunderbirdNot affected
vulnerable_code_not_present
Ubuntu 24.04firefoxNot affected
vulnerable_code_not_present
Ubuntu 24.04mozjs102Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-50336
Ubuntu 24.04mozjs115Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-50336
Ubuntu 24.04node-matrix-js-sdkUnder investigationUBUNTU-CVE-2024-50336
Ubuntu 24.04thunderbirdNot affected
vulnerable_code_not_present
Ubuntu 22.04firefoxNot affected
vulnerable_code_not_present
Ubuntu 22.04mozjs102Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-50336
Ubuntu 22.04mozjs78Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-50336
Ubuntu 22.04mozjs91Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-50336
Ubuntu 22.04node-matrix-js-sdkUnder investigationUBUNTU-CVE-2024-50336
Ubuntu 22.04thunderbirdFixed1:140.7.1+build1-0ubuntu0.22.04.1UBUNTU-CVE-2024-50336
Ubuntu 20.04mozjs52Fix pendingUBUNTU-CVE-2024-50336
Ubuntu 20.04mozjs68Fix pendingUBUNTU-CVE-2024-50336
Ubuntu 20.04node-matrix-js-sdkWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-50336
Ubuntu 18.04mozjs38Fix pendingUBUNTU-CVE-2024-50336
Ubuntu 18.04mozjs52Fix pendingUBUNTU-CVE-2024-50336
Debian 14thunderbirdFixed1:128.5.2esr-1DEBIAN-CVE-2024-50336
Debian 13thunderbirdFixed1:128.5.2esr-1DEBIAN-CVE-2024-50336
Debian 12thunderbirdFixed1:128.6.0esr-1~deb12u1DEBIAN-CVE-2024-50336
npm librarymatrix-js-sdkFixed34.11.1GHSA-xvg8-m4x3-w6xr

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.