What’s Vulnerable › Vulnerabilities

CVE-2025-59841: FlagForgeCTF's Improper Session Handling Allows Access After Logout

Description

Flag Forge is a Capture The Flag (CTF) platform. In versions from 2.2.0 to before 2.3.1, the FlagForge web application improperly handles session invalidation. Authenticated users can continue to access protected endpoints, such as /api/profile, even after logging out. CSRF tokens are also still valid post-logout, which can allow unauthorized actions. This issue has been patched in version 2.3.1.

Affected products

How to fix

Upgrade to a fixed version: FlagForgeCTF flagForge 2.3.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-59841 or the next vulnerability affects your stack