Flarum's Logout Route allows open redirects
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-601.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| flarum | framework | before 1.8.5 | 1.8.5 | Patch available | CNA |
| — | flarum/core (Packagist) | before 1.8.5 | 1.8.5 | Patch available | GHSA-733r-8xcp-w9mr |
| — | flarum/framework (Packagist) | before 1.8.5 | 1.8.5 | Patch available | GHSA-733r-8xcp-w9mr |
- framework Vendorflarum Affected before 1.8.5 Fixed in 1.8.5 Patch available CNA
- flarum/core (Packagist) Vendor— Affected before 1.8.5 Fixed in 1.8.5 Patch available GHSA-733r-8xcp-w9mr
- flarum/framework (Packagist) Vendor— Affected before 1.8.5 Fixed in 1.8.5 Patch available GHSA-733r-8xcp-w9mr
Remediation
- Fix · CNA framework (flarum) Fixed in 1.8.5
- Fix · GHSA-733r-8xcp-w9mr flarum/core (Packagist) Fixed in 1.8.5 Advisory →
- Fix · GHSA-733r-8xcp-w9mr flarum/framework (Packagist) Fixed in 1.8.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-21641
- 2026-10-03 Alias added: GHSA-733r-8xcp-w9mr
References
Patch 3
More Flarum vulnerabilities
- TI-2021-12339 XSS vulnerability with translator CVSS 3.1CRITICAL 10.0
- TI-2023-08736 Post mentions can be used to read any post on the forum without access control CVSS 3.1HIGH 7.7
- TI-2025-20573 Flarum Vulnerable to Session Hijacking via Authoritative Subdomain Cookie Overwrite CVSS 3.1MEDIUM 6.8
- TI-2022-20279 Cross site scripting vulnerability with discussion titles in flarum CVSS 3.1CRITICAL 9.0
- TI-2019-09878 Flarum before 0.1.0-beta.9 allows CSRF against all POST endpoints, as demonstrated by changing admin settings. CVSS 3.0HIGH 8.8
- TI-2019-08604 User/Command/ConfirmEmailHandler.php in Flarum before 0.1.0-beta.8 mishandles invalidation of user email tokens. CVSS 3.0HIGH 7.5
Sources
- CVE-2024-21641 · CVE Program
- CVE-2024-21641 · NVD
- FIRST EPSS
- GHSA-733r-8xcp-w9mr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences