vetkit.php.csrf.laravel-route-exempt
A route opts out of Laravel CSRF verification with withoutMiddleware(). This is only safe for endpoints authenticated by something other than the session cookie (e.g. signed webhooks).
Last updated:
Suite: Security
php
A route opts out of Laravel CSRF verification with withoutMiddleware(). This is only safe for endpoints authenticated by something other than the session cookie (e.g. signed webhooks).
Category: SECURITY · Engine rule severity: INFO
How to fix it
Verify webhook signatures on exempted routes and never exempt session-authenticated forms.
References
Source: packages/engine/rules/sast/php.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.