{"answers":{"affected":"2 open source packages ship an affected version, including matrix-js-sdk.","exploited":"There is no known exploitation of CVE-2024-50336 in the wild and no public exploit code.","fix":"Upgrade matrix-js-sdk to 34.11.1 or later.","what":"CVE-2024-50336 is a medium-severity path traversal vulnerability in matrix-org matrix-js-sdk, published on 12 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-50336 and fix it if it is affected.\n\nWhat it is: CVE-2024-50336 is a medium-severity path traversal vulnerability in matrix-org matrix-js-sdk, published on 12 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-50336 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- matrix-js-sdk (npm): affected all versions; fixed in 34.11.1\n- matrix-js-sdk (npm): affected all versions; fixed in 34.11.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-50336/ (Markdown: https://insights.sbomify.com/CVE-2024-50336/index.md)","id":"CVE-2024-50336","markdown":"https://insights.sbomify.com/CVE-2024-50336/index.md","name":"CVE-2024-50336","record":{"aliases":["DEBIAN-CVE-2024-50336","GHSA-xvg8-m4x3-w6xr","MGASA-2024-0395","SUSE-SU-2024:4326-1","UBUNTU-CVE-2024-50336","openSUSE-SU-2024:14584-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Matrix JavaScript SDK","requires_auth":"low_privilege","summary":"A malicious room member can trigger clients using matrix-js-sdk to issue arbitrary authenticated GET requests to the homeserver via crafted MXC URIs.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["SUSE:Linux Enterprise Module for Package Hub 15 SP5","SUSE:Linux Enterprise Module for Package Hub 15 SP6","SUSE:Linux Enterprise Workstation Extension 15 SP5","SUSE:Linux Enterprise Workstation Extension 15 SP6","npm","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"matrix-js-sdk has insufficient MXC URI validation which allows client-side path traversal","id":"CVE-2024-50336","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":9,"n_references":2,"next":{"headline":"Chamilo: Potential unauthenticated blind SSRF via openid function","id":"CVE-2024-50337"},"packages":[{"ecosystem":"npm","fixed":["34.11.1"],"introduced":["0"],"last_affected":[],"package":"matrix-js-sdk","purl":null,"source":"GHSA-xvg8-m4x3-w6xr"},{"ecosystem":"npm","fixed":["34.11.1"],"introduced":["0"],"last_affected":[],"package":"matrix-js-sdk","purl":"pkg:npm/matrix-js-sdk","source":"GHSA-xvg8-m4x3-w6xr"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP5","fixed":["128.5.2-150200.8.194.1"],"introduced":["0"],"last_affected":[],"package":"MozillaThunderbird","purl":"pkg:rpm/suse/MozillaThunderbird\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5","source":"SUSE-SU-2024:4326-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP6","fixed":["128.5.2-150200.8.194.1"],"introduced":["0"],"last_affected":[],"package":"MozillaThunderbird","purl":"pkg:rpm/suse/MozillaThunderbird\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6","source":"SUSE-SU-2024:4326-1"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 15 SP5","fixed":["128.5.2-150200.8.194.1"],"introduced":["0"],"last_affected":[],"package":"MozillaThunderbird","purl":"pkg:rpm/suse/MozillaThunderbird\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP5","source":"SUSE-SU-2024:4326-1"},{"ecosystem":"SUSE:Linux Enterprise Workstation Extension 15 SP6","fixed":["128.5.2-150200.8.194.1"],"introduced":["0"],"last_affected":[],"package":"MozillaThunderbird","purl":"pkg:rpm/suse/MozillaThunderbird\u0026distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP6","source":"SUSE-SU-2024:4326-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["128.5.2-150200.8.194.1"],"introduced":["0"],"last_affected":[],"package":"MozillaThunderbird","purl":"pkg:rpm/opensuse/MozillaThunderbird\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:4326-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["128.5.2-150200.8.194.1"],"introduced":["0"],"last_affected":[],"package":"MozillaThunderbird","purl":"pkg:rpm/opensuse/MozillaThunderbird\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:4326-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["128.5.2-1.1"],"introduced":["0"],"last_affected":[],"package":"MozillaThunderbird","purl":"pkg:rpm/opensuse/MozillaThunderbird\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14584-1"}],"prev":{"headline":"Authenticated XSS in \"Publish Key\" Field Allowing Unauthorized Administrator User Creation in SuiteCRM","id":"CVE-2024-50335"},"products":["matrix-js-sdk"],"published":"2024-11-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["matrix-org"]},"summary":"A malicious room member can trigger clients using matrix-js-sdk to issue arbitrary authenticated GET requests to the homeserver via crafted MXC URIs.","url":"https://insights.sbomify.com/CVE-2024-50336/"}