Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-86256 EUVD-2026-72112GHSA-rc6j-63fm-mhq4GHSA-vqv8-j3mj-wjxj

wger before 2.6 Open Redirect via trainer-login next parameter

Published Sep 6, 2026 · Updated Sep 9, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
wger-project wger < 2.6 2.6

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI wger < 2.6 2.6 GHSA-vqv8-j3mj-wjxj

References