Skip to main content
← All vulnerabilities
CVE-2026-86256GHSA-VQV8-J3MJ-WJXJ

wger before 2.6 Open Redirect via trainer-login next parameter

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • wger-project wger

    fixed in 2.6

  • wgerPyPI

    fixed in 2.6

References 2

GitHub · wger-project/wger

vulncheck.com