CVE-2024-21641

published 5 Jan 2024 · updated 3 Jun 2025

Flarum's Logout Route allows open redirects

7.5HighCVSS 6.5EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

Flarum is open source discussion platform software. Prior to version 1.8.5, the Flarum `/logout` route includes a redirect parameter that allows any third party to redirect users from a (trusted) domain of the Flarum installation to redirect to any link. For logged-in users, the logout must be confirmed. Guests are immediately redirected. This could be used by spammers to redirect to a web address using a trusted domain of a running Flarum installation. The vulnerability has been fixed and published as flarum/core v1.8.5. As a workaround, some extensions modifying the logout route can remedy this issue if their implementation is safe.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
flarum<1.8.5

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-21641 severity on Zeptric[![CVE-2024-21641](https://zeptric.io/badge/cve/CVE-2024-21641.svg)](https://zeptric.io/cve/CVE-2024-21641)