Security: Missing CSRF check on migration action #105
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Audit Finding L-5
Severity: Low
Issue:
DashboardController::migrate()performs write operations but has no$this->checkToken(). CSRF attack by logged-in super admin could trigger migration.Fix: Add
$this->checkToken()call.Files:
DashboardController.phpLabel:
priority: low,type: securityBranch created:
feature/105-security-missing-csrf-check-on-migration