CVE-2026-40353 MEDIUM

CVE-2026-40353: wger: Stored XSS via Unescaped License Attribution Fields

Vendor Wger-Project
Product wger
Weakness CWE-79 · XSS
Published April 17, 2026
Last update April 20, 2026

CVSS base score

5.1/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 17, 2026 CVE published
April 20, 2026 Record updated