CVE-2026-40353

Medium

Description

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductWger
PublishedApr 17, 2026
First seenApr 17, 2026

How to fix

Update
  • wger wger2.5 or later

Affected products

ProductAffected versionsFixed in
wger wgerv < 2.52.5
wgerPyPIv ≤ 2.4—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.