Bug: Dashboard migration link missing CSRF token #120
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
Severity: Low
Issue:
The dashboard migration button links to
task=dashboard.migratewithout a CSRF token. The controller calls$this->checkToken(), so clicking the button always fails — the feature is broken.Fix: Use
Session::getFormToken()in the URL or convert to form POST.Files:
tmpl/dashboard/default.phpBranch created:
feature/120-bug-dashboard-migration-link-missing-csr