{"id":"CVE-2024-21641","published":"2024-01-05T21:02:56Z","modified":"2025-06-03T14:40:49Z","title":"Flarum's Logout Route allows open redirects","vendor":"flarum","product":"framework","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01067,"percentile":0.65603,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/flarum/framework/security/advisories/GHSA-733r-8xcp-w9mr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/flarum/flarum-core/commit/ee8b3b4ad1413a2b0971fdd9e40f812d2a3a9d3a","tags":["x_refsource_MISC"]},{"url":"https://github.com/flarum/framework/commit/7d70328471cf3091d92d95c382d277aec7996176","tags":["x_refsource_MISC"]}],"priority":{"score":22.7,"factors":[{"name":"EPSS percentile","points":13.12},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.55}]},"exploitSources":{"nuclei":[{"id":"CVE-2024-21641","name":"Flarum < 1.8.5 - Open Redirect","severity":"medium","path":"http/cves/2024/CVE-2024-21641.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-21641.yaml"}],"provenance":"source"},"vendorSlug":"flarum","affectedVersions":[{"vendor":"flarum","product":"framework","versions":["< 1.8.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-08T15:56:54.587072Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"flarum/core","vulnerableRanges":["<1.8.5"],"patched":["1.8.5"],"from":["GHSA-733r-8xcp-w9mr"],"provenance":"source"},{"ecosystem":"Packagist","package":"flarum/framework","vulnerableRanges":["<1.8.5"],"patched":["1.8.5"],"from":["GHSA-733r-8xcp-w9mr"],"provenance":"source"}],"summary":{"text":"Flarum's framework (flarum/core) contains an open redirect flaw in its /logout route, which accepts a redirect parameter that is not validated against trusted destinations. An attacker can craft a link on a legitimate Flarum installation's domain that sends users to an arbitrary external site, which requires no authentication and only user interaction (clicking the link); logged-in users must also confirm the logout, while guests are redirected immediately.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:45:34Z"},"euvd":{"id":"EUVD-2024-0279","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-22489","published":"2023-01-13","fixed":"1.6.3","kev":false},{"cve":"CVE-2023-27577","published":"2023-03-10","fixed":"1.7.0","kev":false},{"cve":"CVE-2023-40033","published":"2023-08-16","fixed":"1.8.0","kev":false,"link":{"from":"CVE-2023-40033","to":"CVE-2024-21641","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:flarum/core","fromFixed":"1.8.0","toFixed":"1.8.5","daysApart":142},{"kind":"version-step","provenance":"source","package":"Packagist:flarum/framework","fromFixed":"1.8.0","toFixed":"1.8.5","daysApart":142}]}},{"cve":"CVE-2024-21641","published":"2024-01-05","fixed":"1.8.5","kev":false},{"cve":"CVE-2025-27794","published":"2025-03-12","fixed":"1.8.10","kev":false,"link":{"from":"CVE-2024-21641","to":"CVE-2025-27794","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:flarum/core","fromFixed":"1.8.5","toFixed":"1.8.10","daysApart":432},{"kind":"version-step","provenance":"source","package":"Packagist:flarum/framework","fromFixed":"1.8.5","toFixed":"1.8.10","daysApart":432}]}},{"cve":"CVE-2026-41887","published":"2026-05-08","fixed":"2.0.0-rc.1","kev":false}],"package":"Packagist:flarum/core"}}