---
id: CVE-2025-59161
title: Element Web is a Matrix web client built using the Matrix React SDK
summary: >-
  Element Web is a Matrix web client built using the Matrix React SDK. Element
  Web and Element Desktop before version 1.11.112 have insufficient validation
  of room predecessor links, allowing a remote attacker to attempt to
  impermanently r…
severity: none
cwe:
  - CWE-20
published: '2025-09-16'
updated: '2026-10-01'
sourceUpdated: '2026-10-01T16:10:00.257'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-59161'
references:
  - url: >-
      https://github.com/element-hq/element-web/commit/8e9a43d70c90e6a3b110cd0a377296079e4c81f5
    label: security-advisories@github.com
  - url: >-
      https://github.com/element-hq/element-web/security/advisories/GHSA-m6c8-98f4-75rr
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00407
epssPercentile: 0.34836
ingestedAt: '2026-10-01T18:55:42.287Z'
---

## Overview

Element Web is a Matrix web client built using the Matrix React SDK. Element Web and Element Desktop before version 1.11.112 have insufficient validation of room predecessor links, allowing a remote attacker to attempt to impermanently replace a room's entry in the room list with an unrelated attacker-supplied room. While the effect of this is temporary, it may still confuse users into acting on incorrect assumptions. The issue has been patched and users should upgrade to 1.11.112. A reload/refresh will fix the incorrect room list state, removing the attacker's room and restoring the original room.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
