Low severity · published Sep 16, 2025
CVE-2025-59161
In Element Web and Element Desktop, a malicious room can hide an unrelated room and cause it to be left when the malicious room is left
2.7
CVSS
0.4%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EL
element-web · element-hq
< 1.11.112 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-59161
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-59161
github.com
https://github.com/element-hq/element-web/commit/8e9a43d70c90e6a3b110cd0a377296079e4c81f5
github.com
https://github.com/element-hq/element-web/security/advisories/GHSA-m6c8-98f4-75rr
More from element-web
7.0
CVE-2024-47779
Element Web vulnerable to potential exposure of access token via authenticated media
5.3
CVE-2026-55850
Element Web: A malicious homeserver can inject HTML in Element Web using its homepage
5.0
CVE-2024-51750
Element allows a malicious homeserver can modify events leading to unrenderable events or rooms
3.8
CVE-2025-32026
Element Web could load a malicious instance of Element Call leaking media encryption keys
3.5
CVE-2024-51749
Element's thumbnails can be abused to misrepresent the content of an attachment
