Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2022-39250
matrix javascript sdk

Score7.5 High
CVSS 3.1
Exploit probability (EPSS)1.3%
within the next 30 days
CategoryAuthentication & session
Published29 September 2022
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: modifying data.

Weakness type: Improper authentication.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

Matrix JavaScript SDK is the Matrix Client-Server software development kit (SDK) for JavaScript. Prior to version 19.7.0, an attacker cooperating with a malicious homeserver could interfere with the verification flow between two users, injecting its own cross-signing user identity in place of one of the users’ identities. This would lead to the other device trusting/verifying the user identity under the control of the homeserver instead of the intended one. The vulnerability is a bug in the matrix-js-sdk, caused by checking and signing user identities and devices in two separate steps, and inadequately fixing the keys to be signed between those steps. Even though the attack is partly made possible due to the design decision of treating cross-signing user identities as Matrix devices on the server side (with their device ID set to the public part of the user identity key), no other examined implementations were vulnerable. Starting with version 19.7.0, the matrix-js-sdk has been modified to double check that the key signed is the one that was verified instead of just referencing the key by ID. An additional check has been made to report an error when one of the device ID matches a cross-signing key. As this attack requires coordination between a malicious homeserver and an attacker, those who trust their homeservers do not need a particular workaround.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weakness: CWE-287 – Improper authentication, CWE-322

Affected products

VendorProductVersions
matrixjavascript sdk<19.7.0

Sources

Latest in the same category

  • CVE-2026-139894 Medium 5.3
    A vulnerability was found in davila7 claude-code-templates up to 1.29.6. The affected element is an unknown function of the file cli-tool/src/claude-api-proxy.js of the component Claude API proxy. Performing a…
    Authentication & session · 1 December 2026
  • CVE-2026-140123 Medium 6.3
    changedetection.io before 0.71.1 contains a missing authentication vulnerability in the static_content handler that allows unauthenticated attackers to access watch data when the password is set via SALTED_PASS.…
    Authentication & session · 1 December 2026
  • CVE-2026-90958 Critical 9.1
    A flaw was found in FreeIPA. When AD-trust/SMB support is enabled, SMB/NTLM authentication does not increment the account-lockout failure counter used by Kerberos authentication, allowing an attacker to make unlimited…
    Authentication & session · 30 November 2026
  • CVE-2026-108122 Critical 9.8
    A flaw was found in FreeIPA. When NT hash generation is disabled, the `ipaNTHash` attribute written on the next password change is a predictable all-zero value instead of being left unset. FreeIPA's Samba passdb…
    Authentication & session · 30 November 2026
  • CVE-2026-128967 High 7
    The ldap-auth and ldap-auth-advanced plugins in Kong Gateway Enterprise and Kong AI Gateway key their credential cache without the TLS settings, allowing a man-in-the-middle attacker to have credentials validated…
    Authentication & session · 30 November 2026
  • CVE-2026-139818 Medium 5.3
    A weakness has been identified in vllm-project vLLM up to 0.34.0. The impacted element is the function ProcessorInputs.get_mm_hashes of the file vllm/multimodal/processing/inputs.py of the component Multimodal…
    Authentication & session · 30 November 2026