PHPSeverity: MediumStatus: Published

TokenStore::verify() skips CSRF checks on empty POST bodies

TokenStore::verify() skipped CSRF checks when the POST body was empty, so empty-body and file-only multipart POSTs bypassed verification (CWE-352).

Timeline

  1. Found
  2. Reported via private vulnerability report
  3. Advisory published
  4. Entry last updated

Machine-readable: JSON · Markdown · ID security/php/phpgt__Csrf/2026-10-29-empty-post-csrf-verify-bypass

If this work is useful to you, you can support it on Buy Me a Coffee.