Bug: Dashboard migration link missing CSRF token #120

Closed
opened 2026-06-06 11:50:10 +00:00 by jmiller · 1 comment
Owner

Audit Finding

Severity: Low

Issue:
The dashboard migration button links to task=dashboard.migrate without 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.php

## Audit Finding **Severity:** Low **Issue:** The dashboard migration button links to `task=dashboard.migrate` without 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.php`
Author
Owner

Branch created: feature/120-bug-dashboard-migration-link-missing-csr

git fetch origin
git checkout feature/120-bug-dashboard-migration-link-missing-csr
Branch created: [`feature/120-bug-dashboard-migration-link-missing-csr`](https://git.mokoconsulting.tech/MokoConsulting/MokoJoomCross/src/branch/feature/120-bug-dashboard-migration-link-missing-csr) ```bash git fetch origin git checkout feature/120-bug-dashboard-migration-link-missing-csr ```
Sign in to join this conversation.