THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-xf64-4pmc-h8qf (medium) — wger: trainer_login accepts GET - CSRF bypass enables forced session rebinding

[GHSA] GHSA-xf64-4pmc-h8qf (medium) — wger: trainer_login accepts GET - CSRF bypass enables forced session rebinding

highgithub_advisoriesPublished 2026-10-07

GHSA-xf64-4pmc-h8qf Severity: medium CVE: CVE-2026-45161

wger: trainer_login accepts GET - CSRF bypass enables forced session rebinding

### Summary

The `trainer_login` view in wger accepts GET requests and executes `django_login()` without any CSRF protection, because Django's `CsrfViewMiddleware` only enforces tokens on unsafe methods (POST/PUT/PATCH/DELETE). An attacker can embed a single `<i

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-xf64-4pmc-h8qf