Paper/Archive/CVE-2025-59841

CVE-2025-59841

FlagForgeCTF flagForge — FlagForgeCTF's Improper Session Handling Allows Access After Logout

Description · from the CVE record

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

ProductAffectedFixed inSource
flagForge>= 2.2.0, < 2.3.1–CNA

Scores by source

GitHub_M (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgithub.com/FlagForgeCTF/flagForge/security/advisories/GHSA-h6pr-4cwv-6cjgrefgithub.com/FlagForgeCTF/flagForge/commit/304b6c82a4f76871b336404b91e5cdd8a7d7d5bd