Skip to content
OpenAdvisories
Medium · 6.5 Scanner template CVE-2024-21641 EUVD-2024-0279GHSA-733r-8xcp-w9mr

Flarum's Logout Route allows open redirects

Published Jan 5, 2024 · Updated Jun 3, 2025 · 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.

Affected products

VendorProductAffectedFixed
flarum framework < 1.8.5 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist flarum/core < 1.8.5 1.8.5 GHSA-733r-8xcp-w9mr
Packagist flarum/framework < 1.8.5 1.8.5 GHSA-733r-8xcp-w9mr

References