CVE-2026-40353

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:wger:wger:*:*:*:*:*:*:*:*

History

24 Apr 2026, 14:46

Type Values Removed Values Added
CPE cpe:2.3:a:wger:wger:*:*:*:*:*:*:*:*
References () https://github.com/wger-project/wger/releases/tag/2.5 - () https://github.com/wger-project/wger/releases/tag/2.5 - Release Notes
References () https://github.com/wger-project/wger/security/advisories/GHSA-6f54-qjvm-wwq3 - () https://github.com/wger-project/wger/security/advisories/GHSA-6f54-qjvm-wwq3 - Exploit, Vendor Advisory, Mitigation
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4
First Time Wger
Wger wger

20 Apr 2026, 17:16

Type Values Removed Values Added
References () https://github.com/wger-project/wger/security/advisories/GHSA-6f54-qjvm-wwq3 - () https://github.com/wger-project/wger/security/advisories/GHSA-6f54-qjvm-wwq3 -

17 Apr 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-17 22:16

Updated : 2026-04-24 14:46


NVD link : CVE-2026-40353

Mitre link : CVE-2026-40353

CVE.ORG link : CVE-2026-40353


JSON object : View

Products Affected

wger

  • wger
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')