CVE-2022-36059: matrix-org matrix-js-sdk Prototype Pollution
Vulnerability summary
CVE-2022-36059 is a high (CVSS 8.2) Prototype Pollution vulnerability in matrix-org matrix-js-sdk. EPSS estimates a 0.93% chance of exploitation in the next 30 days, higher than 60.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 9 · Related 3Timeline
- 28-03-2023PublishedVulnerability first disclosed.
- 18-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NDiffers
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NDiffers
- OSV · NpmEcosystem advisory · calculated7.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NDiffers
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NDiffers
EPSS trend
Probability
0.93%
Chance of exploitation in the next 30 days
Percentile
60%
Versus all other CVEs
30-day change
-0.01 pp
From 0.94% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Opensuse2 products
- element-desktop&distro=openSUSE Tumbleweed< 1.11.4-1.1
- element-web&distro=openSUSE Tumbleweed< 1.11.4-1.1
Ubuntu2 products
- node-matrix-js-sdkAll versions (No fix recorded)
- thunderbird< 1:102.2.2+build1-0ubuntu0.18.04.1 | < 1:102.2.2+build1-0ubuntu0.20.04.1 | < 1:102.2.2+build1-0ubuntu0.22.04.1
Debian1 product
- thunderbird< 1:102.2.1-1
Matrix1 product
- javascript_sdk< 19.4.0
Matrix-org1 product
- matrix-js-sdk< 19.4.0
Npm1 product
- matrix-js-sdk< 19.4.0
6 vendors · 8 products
References
12 links- github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-rfv9-x7hh-xc32X Refsource CONFIRMWEBVendor Advisory