Skip to content
vetkitChecksChangelogDocumentation

vetkit.php.csrf.laravel-disabled-globally

CSRF verification is disabled for every route (wildcard exception in VerifyCsrfToken / validateCsrfTokens). Any site can submit state-changing requests as a logged-in user.

Last updated:

Suite: Security

php

CSRF verification is disabled for every route (wildcard exception in VerifyCsrfToken / validateCsrfTokens). Any site can submit state-changing requests as a logged-in user.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

List only the specific webhook paths that need an exception and keep CSRF protection for the rest.

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.