Description
Element Web and Element Desktop before 1.12.32 accept guest credentials from URL fragment parameters in loadSession, allowing remote unauthenticated attackers to log out users and clear local stores. Attackers can lure logged-in users into opening links with guest_user_id and guest_access_token to force an attacker-controlled guest session and destroy unbacked end-to-end encryption keys.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| element-hq | element-web | < 1.12.32 | 1.12.32 |
| element-hq | element-desktop | < 1.12.32 | 1.12.32 |
References
- GitHub Security Advisory (GHSA-c88w-7h6p-27xr) vendor-advisory
- https://github.com/element-hq/element-web/commit/792453c88a399d570599f5d73b08b40157cd80c0 patch
- https://github.com/element-hq/element-web/blob/v1.12.31/apps/web/src/Lifecycle.ts#L188 technical-description
- element-web v1.12.32 Release Notes release-notes
- https://abraxaslabs.tech/research/element-fragment-guest third-party-advisory
- https://github.com/element-hq/element-web product
- VulnCheck Advisory: Element Web and Element Desktop before 1.12.32 Forced Logout via Guest Credential URL Parameters third-party-advisory