Live threats

All CVEs / Matrix

CVE-2022-39236Matrix Javascript Sdk

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
No
Published
Sep 28, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Javascript Sdk.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm matrix-js-sdk ≥ 17.1.0-rc.1 < 19.7.0 19.7.0 npm install matrix-js-sdk@19.7.0

Per OSV / GitHub Advisories (GHSA-hvv8-5v86-r45x). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
matrixjavascript_sdk≥ 17.1.0 < 19.7.0
matrixjavascript_sdk17.1.0

Official sources

References

Links published by the sources. Open them with care.