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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-384",
"CWE-613"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59841.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "2.2.0"
},
{
"fixed": "2.3.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "304b6c82a4f76871b336404b91e5cdd8a7d7d5bd"
}
],
"source": "REFERENCES_COMMIT"
},
{
"cpe": "cpe:2.3:a:flagforge:flagforge:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.2"
},
{
"fixed": "2.3.1"
}
],
"source": "CPE_RANGE"
}
]
}