Vulnerability library
Security checkNovember 04, 2025

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmmatrix-js-sdk

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the matrix-js-sdk package to the latest compatible version. Followings are version details:

  • Affected version(s): < 34.11.1
  • Patched version(s): 34.11.1

References

Could your website be exposed too?

SmartScanner can check your website for matrix-js-sdk has insufficient MXC URI validation which allows client-side path traversal and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 04, 2025