XSS in Wger
CVE-2026-40353
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.002 (15.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 15th percentile — 15.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Wger
- Wger-Project Wger — versions < 2.5
Weakness classification (CWE)
References
- github.com/wger-project/wger/security/advisories/GHSA-6f54-qjvm-wwq3 (Exploit, Mitigation, Vendor Advisory)
- github.com/wger-project/wger/releases/tag/2.5 (Release Notes)
Frequently asked questions
- What is CVE-2026-40353?
- CVE-2026-40353 is a medium-severity vulnerability in Wger, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2026-04-17.
- How severe is CVE-2026-40353?
- Medium severity. CVSS v3 base score is 5.4 out of 10.