{"id":"CVE-2024-21641","aliases":["CVE-2024-21641","GHSA-733r-8xcp-w9mr"],"related":[],"kind":"vulnerability","state":"published","title":"Flarum's Logout Route allows open redirects","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Flarum es un software de plataforma de discusión de código abierto. Antes de la versión 1.8.5, la ruta `/logout` de Flarum incluye un parámetro de redirección que permite a cualquier tercero redirigir a los usuarios desde un dominio (confiable) de la instalación de Flarum para redirigir a cualquier enlace. Para los usuarios que han iniciado sesión, se debe confirmar el cierre de sesión. Los invitados son redirigidos inmediatamente. Los spammers podrían utilizar esto para redirigir a una dirección web utilizando un dominio confiable de una instalación de Flarum en ejecución. La vulnerabilidad ha sido reparada y publicada como flarum/core v1.8.5. Como workaround, algunas extensiones que modifican la ruta de cierre de sesión pueden solucionar este problema si su implementación es segura.","source":"nvd"}],"published":"2024-01-05T20:53:17.000Z","modified":"2026-09-10T03:50:09.257Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"version":"< 1.8.5","status":"affected"}],"vendor":"flarum","product":"framework","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.8.5"}],"ecosystem":"Packagist","package":"flarum/core","purl":"pkg:composer/flarum/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.8.5"}],"ecosystem":"Packagist","package":"flarum/framework","purl":"pkg:composer/flarum/framework","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.8.5"}],"vendor":"flarum","product":"flarum","cpe":"cpe:2.3:a:flarum:flarum:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/flarum/framework/security/advisories/GHSA-733r-8xcp-w9mr","tags":["patch","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/flarum/flarum-core/commit/ee8b3b4ad1413a2b0971fdd9e40f812d2a3a9d3a","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/flarum/framework/commit/7d70328471cf3091d92d95c382d277aec7996176","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21641","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-05-08T15:56:54.587Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21641","url":"https://www.cve.org/CVERecord?id=CVE-2024-21641","licence":"CVE Terms of Use","modified":"2025-06-03T14:40:49.162Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-733r-8xcp-w9mr","url":"https://github.com/advisories/GHSA-733r-8xcp-w9mr","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:09.257Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21641","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21641","licence":"Public domain","modified":"2026-06-17T07:09:54.430Z"}],"updatedAt":"2026-11-25T22:58:35.928Z","epss":{"score":0.01067,"percentile":0.65726,"date":"2026-12-01T12:00:22.000Z"}}