Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. flarum/framework
  4. ›
  5. CVE-2024-21641

CVE-2024-21641: Flarum's logout Route allows open redirects

January 5, 2024 (updated January 17, 2025)

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. 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.

Some ecosystem extensions modifying the logout route have already been affected. Sample: https://discuss.flarum.org/d/22229-premium-wordpress-integration/526

References

  • github.com/advisories/GHSA-733r-8xcp-w9mr
  • github.com/flarum/flarum-core/commit/ee8b3b4ad1413a2b0971fdd9e40f812d2a3a9d3a
  • github.com/flarum/framework/commit/7d70328471cf3091d92d95c382d277aec7996176
  • github.com/flarum/framework/security/advisories/GHSA-733r-8xcp-w9mr
  • nvd.nist.gov/vuln/detail/CVE-2024-21641

Code Behaviors & Features

Detect and mitigate CVE-2024-21641 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.8.5

Fixed versions

  • 1.8.5

Solution

Upgrade to version 1.8.5 or above.

Impact 4.7 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

packagist/flarum/framework/CVE-2024-21641.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:41 +0000.