VULNERABILITY INTELLIGENCE
CVE-2026-40353
CVSS score5.4 MEDIUM
EPSS probability0.21%
CISA KEVNot currently listed
Published2026-04-17
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Description
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.
Weakness classification
- security-advisories@github.com: CWE-79
Primary references
- security-advisories@github.com — Release Notes
- security-advisories@github.com — Exploit, Mitigation, Vendor Advisory
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 — Exploit, Mitigation, Vendor Advisory