Vulnerability

CVE-2026-40353

mediumCVSS 4.0 5.1Published 17 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Wger wger

Weakness type

References

  • github.com /wger-project/wger/releases/tag/2.5
  • github.com /wger-project/wger/security/advisories/GHSA-6f54-qjvm-wwq3

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning