CVE-2026-86256
MEDIUM 5.1CVSS 4.0wger: trainer_login open redirect - ?next= parameter not validated against host
wger before 2.6 (affected versions <= 2.5.0) contains an open redirect vulnerability in the trainer_login view (wger/core/views/user.py). After a trainer enters impersonation mode, the view redirects to the user-supplied 'next' GET parameter via HttpResponseRedirect() without validating it with url_has_allowed_host_and_scheme(). An attacker who delivers a crafted link to an authenticated trainer can redirect the trainer's browser to an attacker-controlled domain, enabling phishing and leaking the wger URL structure (including the impersonated user's user_pk) via the Referer header.
- Published
- 6 Sep 2026
- Last modified
- 10 Sep 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-601
- Also known as
- GHSA-vqv8-j3mj-wjxj
- Sources
- NVDJSONOSV GHSA-vqv8-j3mj-wjxjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 5.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | wger | < 2.6 | 2.6 |
References
- https://github.com/wger-project/wger/security/advisories/GHSA-vqv8-j3mj-wjxj · WEB
- https://www.vulncheck.com/advisories/wger-before-2.6-open-redirect-via-trainer-login-next-parameter
- https://github.com/wger-project/wger · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 6 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 May 2026)