CVE-2022-39236 | Matrix Javascript SDK improper beacon events can cause availability issues

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.

Published: 2022-09-28 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-39236 is rated Moderate Risk (41.5/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.58%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-39236

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-26 0.47% 0.58% +0.11%
2 2025-12-09 0.27% 0.47% +0.21%
3 2025-12-08 0.27%

Full EPSS history (12 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-39236

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
2.8 1.4 [email protected]
5.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
3.9 1.4 [email protected]

Weakness enumeration for CVE-2022-39236

GitHub Security Advisory for CVE-2022-39236

GHSA-hvv8-5v86-r45x · Severity: medium · Ecosystem: npm — Improper beacon events in matrix-js-sdk can result in availability issues

OS Trackers for CVE-2022-39236

vendor priority summary link
alpine medium CVE-2022-39236: 2 source package rows (element-web, riot-web); 8 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 8, open 0. https://security.alpinelinux.org/vuln/CVE-2022-39236
debian not yet assigned CVE-2022-39236 not yet assigned priority: Debian including 1 source packages (node-matrix-js-sdk), 1 status rows across 1 suites (bullseye): open 1. https://security-tracker.debian.org/tracker/CVE-2022-39236
gentoo high CVE-2022-39236: 1 GLSA(s) (202210-35), 2 atom(s) (mail-client/thunderbird, mail-client/thunderbird-bin); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-39236
redhat medium https://access.redhat.com/security/cve/CVE-2022-39236
suse high CVE-2022-39236 severity important: SUSE including 11 source package names (MozillaThunderbird-102.3.1-1.1, MozillaThunderbird-102.4.0-150200.8.85.1, …), 50 product×package rows across 19 product lines (SUSE Liberty Linux 7, SUSE Liberty Linux 8, … (19 product lines)): Fixed 50. https://www.suse.com/security/cve/CVE-2022-39236/
ubuntu medium CVE-2022-39236 medium priority: Ubuntu including 2 source packages (node-matrix-js-sdk, thunderbird), 26 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 7, not-affected 6, needs-triage 5, DNE 4, released 4. https://ubuntu.com/security/CVE-2022-39236

Affected software / configurations for CVE-2022-39236

Vendor Product Version Raw CPE
matrix javascript_sdk >= 17.1.0, < 19.7.0 cpe:2.3:a:matrix:javascript_sdk:*:*:*:*:*:node.js:*:*
matrix javascript_sdk 17.1.0 cpe:2.3:a:matrix:javascript_sdk:17.1.0:rc1:*:*:*:node.js:*:*

References for CVE-2022-39236

cvelogic Threat Intelligence