Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. wger
  4. ›
  5. GHSA-vqv8-j3mj-wjxj

GHSA-vqv8-j3mj-wjxj: wger: trainer_login open redirect - ?next= parameter not validated against host

May 6, 2026

The trainer_login view in wger redirects to request.GET['next'] directly via HttpResponseRedirect() without calling url_has_allowed_host_and_scheme(). After the trainer successfully enters impersonation mode, their browser is redirected to any attacker-controlled URL supplied in the ?next= parameter, enabling Referer exfiltration and phishing.

References

  • github.com/advisories/GHSA-vqv8-j3mj-wjxj
  • github.com/wger-project/wger
  • github.com/wger-project/wger/security/advisories/GHSA-vqv8-j3mj-wjxj

Code Behaviors & Features

Detect and mitigate GHSA-vqv8-j3mj-wjxj with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.6

Fixed versions

  • 2.6

Solution

Upgrade to version 2.6 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

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

Source file

pypi/wger/GHSA-vqv8-j3mj-wjxj.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 07 May 2026 00:20:32 +0000.