{
  "id": "CVE-2025-59841",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-59841",
  "published_at": "2025-09-25T15:15:45.438Z",
  "title": "FlagForgeCTF's Improper Session Handling Allows Access After Logout",
  "vendor": "FlagForgeCTF",
  "product": "flagForge",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-384",
  "cpes": [
    "cpe:2.3:a:flagforge:flagforge:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "FlagForgeCTF",
        "product": "flagForge",
        "ranges": [
          "\u003e= 2.2.0, \u003c 2.3.1"
        ],
        "fixed_in": [
          "2.3.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade flagForge to 2.3.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/FlagForgeCTF/flagForge/security/advisories/GHSA-h6pr-4cwv-6cjg"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/FlagForgeCTF/flagForge/commit/304b6c82a4f76871b336404b91e5cdd8a7d7d5bd"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
