{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40353","published":"2026-04-17T22:16:33.077000Z","last_modified":"2026-06-17T10:45:10.190000Z","status":"Analyzed","cvss":{"version":"4.0","score":5.1,"severity":"MEDIUM","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:wger:wger:*:*:*:*:*:*:*:*","part":"a","vendor":"wger","product":"wger","version_end_excluding":"2.5"}],"cpes_truncated":false,"vendors":["wger"],"products":["wger/wger"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-6f54-qjvm-wwq3","ecosystem":"PyPI","name":"wger","purl":"pkg:pypi/wger","ranges":[{"introduced":"0","last_affected":"2.4"}],"versions":["1.1","1.1.1","1.2","1.2rc1","1.3","1.4","1.5","1.6","1.6.1","1.7","1.8","1.9","2.0","2.1"],"versions_truncated":false},{"advisory":"PYSEC-2026-3419","ecosystem":"PyPI","name":"wger","purl":"pkg:pypi/wger","ranges":[{"introduced":"0","last_affected":"2.4"}],"versions":["1.1","1.1.1","1.2","1.2rc1","1.3","1.4","1.5","1.6","1.6.1","1.7","1.8","1.9","2.0","2.1"],"versions_truncated":false}],"severity":"medium","priority_score":31,"links":{"html_es":"/es/cve/CVE-2026-40353/","html_en":"/en/cve/CVE-2026-40353/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40353","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40353"},"untrusted":{"vendor_name":"Wger","product_name":"Wger","desc_en":"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.","affected":[{"untrusted_vendor":"wger-project","untrusted_product":"wger","versions":[]}],"references":[{"url":"https://github.com/wger-project/wger/releases/tag/2.5","tags":["Release Notes"]},{"url":"https://github.com/wger-project/wger/security/advisories/GHSA-6f54-qjvm-wwq3","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}