CVE-2026-86256 PUBLISHED

wger before 2.6 Open Redirect via trainer-login next parameter

Assigner: VulnCheck
Reserved: 06.09.2026 Published: 06.09.2026 Updated: 06.09.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 5.1

Product Status

Vendor wger-project
Product wger
Versions Default: unaffected
  • affected from 0 to 2.6 (excl.)
  • Version 2.6 is unaffected

Credits

  • whatisproblem reporter

References

Problem Types

  • URL Redirection to Untrusted Site ('Open Redirect') CWE