CVE-2026-40353wger: Stored XSS via Unescaped License Attribution Fields
Updated under an hour ago ()
Does this affect you?
It affects wger-project wger and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 5.1 MEDIUM (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- Weakness (CWE)
- CWE-79
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Apr 20, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
wger-project wger wger_project:wger (from the name) | before 2.5 | CNA record |
wger wger wger:wger | before 2.5 | NVD |
References
- https://github.com/wger-project/wger/security/advisories/GHSA-6f54-qjvm-wwq3x-refsource-confirm, exploit, mitigation, vendor-advisory
- https://github.com/wger-project/wger/releases/tag/2.5x-refsource-misc, release-notes
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.