CVE-2022-39236: matrix-org matrix-js-sdk Improper Input Validation
Vulnerability summary
CVE-2022-39236 is a medium (CVSS 5.3) Improper Input Validation vulnerability in matrix-org matrix-js-sdk. EPSS estimates a 1.35% chance of exploitation in the next 30 days, higher than 71% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 12 · Related 5Timeline
- 28-09-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Matrix Javascript SDK is the Matrix Client-Server SDK for JavaScript. Starting with version 17.1.0-rc.1, improperly formed beacon events can 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 is patched in matrix-js-sdk v19.7.0. Redacting applicable events, waiting for the sync processor to store data, and restarting the client are possible workarounds. Alternatively, redacting the applicable events and clearing all storage will fix the further perceived issues. Downgrading to an unaffected version, noting that such a version may be subject to other vulnerabilities, will additionally resolve the issue.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · NpmEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LDiffers
EPSS trend
Probability
1.35%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
+0.23 pp
From 1.13% on 18-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
Ubuntu2 products
- node-matrix-js-sdkAll versions (No fix recorded)
- thunderbird< 1:102.4.2+build2-0ubuntu0.18.04.1 | < 1:102.4.2+build2-0ubuntu0.20.04.1 | < 1:102.4.2+build2-0ubuntu0.22.04.1
Debian1 product
- node-matrix-js-sdkAll versions (No fix recorded)
Matrix1 product
- javascript_sdk≥ 17.1.0, < 19.7.0 | 17.1.0:rc1
Matrix-org1 product
- matrix-js-sdk≥ 17.1.0-rc.1, < 19.7.0
Npm1 product
- matrix-js-sdk≥ 17.1.0-rc.1, < 19.7.0
5 vendors · 6 products
References
11 links- github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-hvv8-5v86-r45xREPORTWEBThird Party Advisory
- github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76REPORTWEBPatchThird Party Advisory