CVE-2022-36059

Prototype pollution in matrix-js-sdk

Description

matrix-js-sdk is a Matrix messaging protocol Client-Server SDK for JavaScript. In versions prior to 19.4.0 events sent with special strings in key places can temporarily disrupt or impede the matrix-js-sdk from functioning properly, potentially impacting the consumer's ability to process data safely. Note that the matrix-js-sdk can appear to be operating normally but be excluding or corrupting runtime data presented to the consumer. This issue has been fixed in matrix-js-sdk 19.4.0 and users are advised to upgrade. Users unable to upgrade may mitigate this issue by redacting applicable events, waiting for the sync processor to store data, and restarting the client. Alternatively, redacting the applicable events and clearing all storage will often fix most perceived issues. In some cases, no workarounds are possible.

Category

8.2
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.87% Top 30%
Vendor Advisory github.com
Affected: matrix-org matrix-js-sdk
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-36059?
CVE-2022-36059 has been scored as a high severity vulnerability.
How to fix CVE-2022-36059?
To fix CVE-2022-36059, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-36059 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-36059 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-36059?
CVE-2022-36059 affects matrix-org matrix-js-sdk.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.