Vulnerability library
Security checkMay 30, 2023

Prototype pollution in matrix-js-sdk (part 2)

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

High 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

In certain configurations, data sent by remote servers containing special strings in key locations could cause modifications of the Object.prototype, disrupting matrix-js-sdk functionality, causing denial of service and potentially affecting program logic.

(This is part 2, where CVE-2022-36059 / GHSA-rfv9-x7hh-xc32 is part 1.

Recommendation

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

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

References

Could your website be exposed too?

SmartScanner can check your website for Prototype pollution in matrix-js-sdk (part 2) and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated May 30, 2023