{"id":"CVE-2026-40353","published":"2026-04-17T21:16:12Z","modified":"2026-04-20T16:17:52Z","title":"wger: Stored XSS via Unescaped License Attribution Fields","vendor":"wger-project","product":"wger","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00257,"percentile":0.10684,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/wger-project/wger/security/advisories/GHSA-6f54-qjvm-wwq3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wger-project/wger/releases/tag/2.5","tags":["x_refsource_MISC"]}],"priority":{"score":5.7,"factors":[{"name":"EPSS percentile","points":2.14},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"wger-project","affectedVersions":[{"vendor":"wger-project","product":"wger","versions":["< 2.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-20T16:17:47.270194Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"wger","vulnerableRanges":["<=2.4"],"patched":[],"from":["GHSA-6f54-qjvm-wwq3","PYSEC-2026-3419"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-23561","exploited":false,"provenance":"source"}}