CVE-2024-21641 json
Flarum's Logout Route allows open redirects
published 2024-01-05 2 y ago modified 2026-09-10 1 mo ago also GHSA-733r-8xcp-w9mr , EUVD-2024-0279
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known, plus a Nuclei check
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.
Patch / fix
- packagist flarum/core 1.8.5
- packagist flarum/framework 1.8.5
- flarum flarum 1.8.5
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.07% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Flarum < 1.8.5 - Open Redirect nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | flarum/core | <1.8.5 |
1.8.5 |
| packagist | flarum/framework | <1.8.5 |
1.8.5 |
Affected products
- flarum framework
Classification
- Weakness
-
- CWE-601 URL Redirection to Untrusted Site
References
-
github.com
/flarum/flarum-core/commit/ee8b3b4ad1413a2b0971fdd9e40f812d2a3a9d3a
web, patch
-
github.com
/flarum/framework/commit/7d70328471cf3091d92d95c382d277aec7996176
web, patch
-
github.com
/flarum/framework/security/advisories/GHSA-733r-8xcp-w9mr
web, patch, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-21641
advisory
Sources
- CVE List CVE-2024-21641
- GitHub Advisory GHSA-733r-8xcp-w9mr
- NVD CVE-2024-21641
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.