{"id":"CVE-2024-21641","aliases":["EUVD-2024-0279","GHSA-733r-8xcp-w9mr"],"status":"published","title":"Flarum's Logout Route allows open redirects","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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01067,"percentile":0.65022,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-601"],"published":"2024-01-05T20:53:17Z","modified":"2026-10-28T02:30:50Z","exploits":[{"source":"nuclei","id":"CVE-2024-21641","title":"Flarum \u003c 1.8.5 - Open Redirect","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-21641.yaml"}],"fixes":[{"ecosystem":"Packagist","package":"flarum/core","fixed_in":["1.8.5"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist","package":"flarum/framework","fixed_in":["1.8.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"flarum/core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.5"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"flarum/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.5"}]}]},{"source":"osv","ecosystem":"Packagist","package":"flarum/core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.5"}]}],"versions":["v0.1.0-beta","v0.1.0-beta.10","v0.1.0-beta.11","v0.1.0-beta.11.1","v0.1.0-beta.12","v0.1.0-beta.13","v0.1.0-beta.14","v0.1.0-beta.14.1","v0.1.0-beta.15","v0.1.0-beta.16","v0.1.0-beta.2","v0.1.0-beta.3","v0.1.0-beta.4","v0.1.0-beta.5","v0.1.0-beta.6","v0.1.0-beta.7","v0.1.0-beta.7.1","v0.1.0-beta.7.2","v0.1.0-beta.8","v0.1.0-beta.8.1","v0.1.0-beta.8.2","v0.1.0-beta.9","v1.0.0","v1.0.1","v1.0.2","v1.0.3","v1.0.4","v1.1.0","v1.1.1","v1.2.0","v1.2.1","v1.3.0","v1.3.1","v1.4.0","v1.4.1","v1.5.0","v1.6.0","v1.6.1","v1.6.2","v1.6.3","v1.7.0","v1.7.1","v1.7.2","v1.8.0","v1.8.1","v1.8.2","v1.8.3","v1.8.4"]},{"source":"osv","ecosystem":"Packagist","package":"flarum/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.5"}]}],"versions":["v0.1.0-beta","v0.1.0-beta.10","v0.1.0-beta.11","v0.1.0-beta.11.1","v0.1.0-beta.12","v0.1.0-beta.13","v0.1.0-beta.14","v0.1.0-beta.14.1","v0.1.0-beta.15","v0.1.0-beta.16","v0.1.0-beta.2","v0.1.0-beta.3","v0.1.0-beta.4","v0.1.0-beta.5","v0.1.0-beta.6","v0.1.0-beta.7","v0.1.0-beta.7.1","v0.1.0-beta.7.2","v0.1.0-beta.8","v0.1.0-beta.8.1","v0.1.0-beta.8.2","v0.1.0-beta.9","v1.0.0","v1.0.1","v1.0.2","v1.0.3","v1.0.4","v1.1.0","v1.1.1","v1.2.0","v1.2.1","v1.3.0","v1.3.1","v1.4.0","v1.5.0","v1.6.0","v1.6.1","v1.6.2","v1.6.3","v1.7.0","v1.7.1","v1.8.0","v1.8.1","v1.8.2","v1.8.3"]}],"products":[{"vendor":"flarum","product":"flarum"},{"vendor":"flarum","product":"framework"}],"references":[{"url":"https://github.com/flarum/framework/security/advisories/GHSA-733r-8xcp-w9mr","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/flarum/flarum-core/commit/ee8b3b4ad1413a2b0971fdd9e40f812d2a3a9d3a","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/flarum/framework/commit/7d70328471cf3091d92d95c382d277aec7996176","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21641","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-733r-8xcp-w9mr"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21641.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-21641","title":"Flarum's Logout Route allows open redirects","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.","status":"published","published":"2024-01-05T21:02:56.513Z","modified":"2025-06-03T14:40:49.162Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T14:34:04.681315Z"}],"euvd":[{"id":"EUVD-2024-0279","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.","status":"published","published":"2024-01-05T21:02:56Z","modified":"2025-06-03T14:40:49Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T20:32:31.146985Z"}],"ghsa":[{"id":"GHSA-733r-8xcp-w9mr","title":"Flarum's logout Route allows open redirects","description":"### Impact\nThe 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. Sample: `example.com/logout?return=https://google.com`. 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.\n\nSome ecosystem extensions modifying the logout route have already been affected. Sample: https://discuss.flarum.org/d/22229-premium-wordpress-integration/526\n\n### Patches\nThe vulnerability has been fixed and published as flarum/core v1.8.5. All communities running Flarum should upgrade as soon as possible to v1.8.5 using:\n\n`composer update --prefer-dist --no-dev -a -W`\n\nYou can then confirm you run the latest version using:\n\n`composer show flarum/core`\n\n### Workarounds\nSome extensions modifying the logout route can remedy this issue if their implementation is safe. In any case we recommend updating to 1.8.5.\n\n### References\nFor any questions or comments on this vulnerability, please visit https://discuss.flarum.org/\n\nFor support questions, create a discussion at https://discuss.flarum.org/t/support.\n\nA reminder that if you ever become aware of a security issue in Flarum, please report it to us privately by emailing [security@flarum.org](mailto:security@flarum.org), and we will address it promptly.","status":"published","published":"2024-01-05T20:53:17Z","modified":"2025-01-17T18:15:19Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T14:38:27.067633Z"}],"nvd":[{"id":"CVE-2024-21641","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.","status":"published","published":"2024-01-05T21:15:43.337Z","modified":"2026-06-17T07:09:54.43Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T14:09:30.070039Z"}],"osv":[{"id":"CVE-2024-21641","title":"Flarum's Logout Route allows open redirects","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.","status":"published","published":"2024-01-05T21:02:56.513Z","modified":"2026-10-28T02:30:50.470744142Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T15:44:38.577405Z"},{"id":"GHSA-733r-8xcp-w9mr","title":"Flarum's logout Route allows open redirects","description":"### Impact\nThe 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. Sample: `example.com/logout?return=https://google.com`. 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.\n\nSome ecosystem extensions modifying the logout route have already been affected. Sample: https://discuss.flarum.org/d/22229-premium-wordpress-integration/526\n\n### Patches\nThe vulnerability has been fixed and published as flarum/core v1.8.5. All communities running Flarum should upgrade as soon as possible to v1.8.5 using:\n\n`composer update --prefer-dist --no-dev -a -W`\n\nYou can then confirm you run the latest version using:\n\n`composer show flarum/core`\n\n### Workarounds\nSome extensions modifying the logout route can remedy this issue if their implementation is safe. In any case we recommend updating to 1.8.5.\n\n### References\nFor any questions or comments on this vulnerability, please visit https://discuss.flarum.org/\n\nFor support questions, create a discussion at https://discuss.flarum.org/t/support.\n\nA reminder that if you ever become aware of a security issue in Flarum, please report it to us privately by emailing [security@flarum.org](mailto:security@flarum.org), and we will address it promptly.","status":"published","published":"2024-01-05T20:53:17Z","modified":"2026-09-10T03:50:09.257139836Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T15:46:40.308826Z"}]}}
