Skip to main content
← All vulnerabilities
CVE-2026-40353PYSEC-2026-3419GHSA-6F54-QJVM-WWQ3

wger: Stored XSS via Unescaped License Attribution Fields

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

Summary

wger is a free, open-source workout and fitness manager. In versions 2.5 and below, the attribution_link property in AbstractLicenseModel constructs HTML by directly interpolating user-controlled license fields (such as license_author) without escaping, and templates render the result using Django's |safe filter. An authenticated user can create an ingredient with a malicious license_author value containing JavaScript, which executes in the browser of any visitor viewing the ingredient page, resulting in stored XSS. This issue has been fixed in version 2.5.

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.5

  • wgerPyPI

    through 2.4

References 2

GitHub · wger-project/wger