GHSA-h97m-27fx-42rx
MODERATECVE-2026-45057The message edit validation logic in the matrix-sdk-ui crate before 0.16.1 is missing a check: when replacing an encrypted event, the replacement event itself is not required to be encrypted. This enables a malicious homeserver administrator (or an actor with equivalent power) to impersonate or spoof messages as if they were sent by a victim user.
- Affected
- < 0.16.1, >=0.0.0-0, <0.16.1
- Fixed in
- 0.16.1
- Weakness
- CWE-345
- Published
- 2026-06-04
- Source
- github