Medium severity5.4NVD Advisory· Published Apr 17, 2026· Updated Apr 24, 2026
CVE-2026-40353
CVE-2026-40353
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
wgerPyPI | <= 2.4 | — |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/wger-project/wger/security/advisories/GHSA-6f54-qjvm-wwq3nvdExploitVendor AdvisoryMitigationWEB
- github.com/advisories/GHSA-6f54-qjvm-wwq3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-40353ghsaADVISORY
- github.com/wger-project/wger/releases/tag/2.5nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.