CVE-2024-21641
PHP vulnerability analysis and mitigation

Overview

Flarum, an open source discussion platform software, was found to contain a vulnerability in versions prior to 1.8.5. The vulnerability exists in the /logout route, which includes a redirect parameter that allows any third party to redirect users from a trusted domain of the Flarum installation to any link. The issue was discovered and disclosed on January 5, 2024, and was assigned CVE-2024-21641 (GitHub Advisory).

Technical details

The vulnerability is classified as an open redirect vulnerability (CWE-601). When accessing the logout route, the application accepts a 'return' parameter that can be used to redirect users to arbitrary URLs. For logged-in users, the logout action requires confirmation, while guests are immediately redirected. The vulnerability can be exploited using a URL pattern like 'example.com/logout?return=https://google.com'. The issue has been assigned a CVSS v3.1 base score of 4.7 (Medium) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N by NIST NVD (NVD).

Impact

This vulnerability could be exploited by spammers to redirect users to malicious web addresses while leveraging the trust associated with the domain of a running Flarum installation. The impact is particularly concerning as it affects both authenticated users and guests, though authenticated users have the protection of a confirmation step (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Flarum/core version 1.8.5. Users are strongly recommended to upgrade using the command 'composer update --prefer-dist --no-dev -a -W'. As a workaround, some extensions modifying the logout route can remedy this issue if their implementation is safe, though updating to version 1.8.5 is the recommended solution (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2025-14894HIGH7.5
  • PHPPHP
  • livewire-filemanager/filemanager
NoNoJan 16, 2026
CVE-2026-23626MEDIUM6.8
  • PHPPHP
  • kimai/kimai
NoYesJan 18, 2026
CVE-2025-69198MEDIUM6
  • PHPPHP
  • pterodactyl/panel
NoYesJan 19, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management