{"id":"CVE-2026-45161","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-45161","generatedAt":"2026-10-28T01:41:28.284Z","title":"Prior to version 2.6, 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).","description":"wger is a free, open-source workout and fitness manager. Prior to version 2.6, 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 `<img>` tag on a malicious page; when an authenticated trainer loads that page, their browser auto-issues the GET with the session cookie, forcibly rebinding the trainer's session to an arbitrary user account. Version 2.6 fixes the issue.","published":"2026-10-07T14:17:10.000Z","lastModified":"2026-10-07T17:16:56.000Z","status":"Deferred","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-352"],"affected":[],"epss":{"score":0.00088,"percentile":0.00362,"date":"2026-10-26","history":[{"date":"2026-10-08","score":0.00088,"percentile":0.00364}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.09%). Track it; it rarely justifies an emergency change on its own."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-07T14:17:10.000Z","detail":{"score":"5.4","severity":"MEDIUM","publishedAt":"2026-10-07T14:17:10.087Z"},"summary":"New CVE, medium severity (CVSS 5.4)."}],"references":[{"url":"https://github.com/wger-project/wger/releases/tag/2.6","source":"security-advisories@github.com"},{"url":"https://github.com/wger-project/wger/security/advisories/GHSA-xf64-4pmc-h8qf","source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-45161","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}