patchminder
No public exploit found CVE-2022-36059

Prototype pollutionin matrix-org matrix-js-sdk.

Published 28 Mar 2023 · Updated 18 Feb 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 8.2
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.9% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 19.4.0 or later
In plain words

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.

What to do now
  • Upgrade matrix-js-sdk to 19.4.0 or later.
  • Upgrade matrix-js-sdk (npm) to 19.4.0 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
matrix-js-sdk
before 19.4.0
19.4.0
CVE record
matrix-js-sdk (npm)
before 19.4.0
19.4.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 15 Jul 2022
    CVE ID reserved by GitHub_M.
  2. 28 Mar 2023
    Published in the CVE List.
  3. 18 Feb 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other matrix-js-sdk vulnerabilities

Same weakness: Prototype pollution

All CWE-1321 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-36059: Prototype pollution in matrix-org matrix-js-sdk. https://patchminder.com/cve/cve-2022-36059/ (accessed 5 December 2026).