{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-21641","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","descriptionLong":"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.","published":"2024-01-05T21:02:56.513Z","updated":"2026-10-28T02:30:50.470744142Z","reserved":"2023-12-29T03:00:44.957Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"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","rating":"medium","source":"GitHub_M"},"metrics":[{"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","rating":"medium","source":"GitHub_M"},{"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","rating":"medium","source":"github.com"},{"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","rating":"medium","source":"NVD"},{"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","rating":"medium","source":"OSV"},{"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["flarum framework"],"affectedProducts":[{"vendor":"flarum","product":"framework","defaultStatus":null,"versions":[{"version":"< 1.8.5","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"flarum/core","purl":"pkg:composer/flarum/core","ranges":["<1.8.5"],"fixed":["1.8.5"],"advisory":"GHSA-733r-8xcp-w9mr"},{"ecosystem":"Packagist","name":"flarum/framework","purl":"pkg:composer/flarum/framework","ranges":["<1.8.5"],"fixed":["1.8.5"],"advisory":"GHSA-733r-8xcp-w9mr"}],"cwes":["CWE-601"],"aliases":["GHSA-733r-8xcp-w9mr"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21641.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21641","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.01067,"epssPercentile":0.65497,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-21641","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21641","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-21641","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-733r-8xcp-w9mr","ok":true,"note":"GHSA-733r-8xcp-w9mr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-21641","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}