{
  "id": "security/php/phpgt__Csrf/2026-10-29-empty-post-csrf-verify-bypass",
  "title": "TokenStore::verify() skips CSRF checks on empty POST bodies",
  "category": "security",
  "type": "csrf",
  "severity": "medium",
  "cvss": {
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
    "score": 6.5
  },
  "ecosystem": "php",
  "project": {
    "owner": "phpgt",
    "repo": "Csrf",
    "url": "https://github.com/phpgt/Csrf"
  },
  "affected_versions": [
    "<= 1.9.2"
  ],
  "fixed_version": "1.9.3",
  "status": "published",
  "disclosure": {
    "channel": "pvr",
    "ghsa_id": "GHSA-r87f-hw77-32rv",
    "cve_id": null,
    "url": "https://github.com/phpgt/Csrf/security/advisories/GHSA-r87f-hw77-32rv",
    "reported_at": "2026-10-29T10:08:06+03:00",
    "accepted_at": "2026-11-06T13:47:59+03:00",
    "published_at": "2026-11-06T14:37:11+03:00"
  },
  "summary": "TokenStore::verify() skipped CSRF checks when the POST body was empty, so empty-body and file-only multipart POSTs bypassed verification (CWE-352).",
  "discovered_at": "2026-10-29T00:00:00+03:00",
  "public": true,
  "credit": "ucsurf",
  "updated_at": "2026-11-06T22:37:00+03:00",
  "pr": null,
  "references": [
    "https://github.com/phpgt/Csrf/security/advisories/GHSA-r87f-hw77-32rv",
    "https://github.com/phpgt/Csrf/pull/234"
  ]
}
