CVE-2025-59841

Source
https://cve.org/CVERecord?id=CVE-2025-59841
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59841.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-59841
Aliases
  • GHSA-h6pr-4cwv-6cjg
Published
2025-09-25T15:15:45.438Z
Modified
2026-07-15T01:49:20.538936029Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
FlagForgeCTF's Improper Session Handling Allows Access After Logout
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-384",
        "CWE-613"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59841.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/flagforgectf/flagforge

Affected ranges

Type
GIT
Repo
https://github.com/flagforgectf/flagforge
Events
Database specific
{
    "cpe": "cpe:2.3:a:flagforge:flagforge:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.2.0"
        },
        {
            "fixed": "2.3.1"
        },
        {
            "introduced": "2.2"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v2.*
v2.2
v2.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59841.json"