# CVE-2024-21641: Flarum's Logout Route allows open redirects

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.07%, higher than 65% of CVEs (2026-12-01)
- Published: 2024-01-05T20:53:17.000Z
- Modified: 2026-09-10T03:50:09.257Z
- Also known as: GHSA-733r-8xcp-w9mr
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- flarum framework: < 1.8.5
- flarum/core (Packagist): before 1.8.5
- flarum/framework (Packagist): before 1.8.5
- flarum flarum: before 1.8.5

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N`

## References

- <https://github.com/flarum/framework/security/advisories/GHSA-733r-8xcp-w9mr> (patch, vendor-advisory, web)
- <https://github.com/flarum/flarum-core/commit/ee8b3b4ad1413a2b0971fdd9e40f812d2a3a9d3a> (patch, web)
- <https://github.com/flarum/framework/commit/7d70328471cf3091d92d95c382d277aec7996176> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21641> (advisory)

## Sources

- CVE List: [CVE-2024-21641](https://www.cve.org/CVERecord?id=CVE-2024-21641), CVE Terms of Use, modified 2025-06-03
- GitHub Advisory Database: [GHSA-733r-8xcp-w9mr](https://github.com/advisories/GHSA-733r-8xcp-w9mr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-21641](https://nvd.nist.gov/vuln/detail/CVE-2024-21641), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-21641 · Whole record: https://cve.day/CVE-2024-21641.json · Rebuilt by cve.day 2026-11-25T22:58:35.928Z
