Back to CVE records
Medium 5.1Published Apr 17, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects wger-project wger and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
5.1 MEDIUM (v4.0, CNA)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
Weakness (CWE)
CWE-79
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Apr 20, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
wger-project wger
wger_project:wger (from the name)
before 2.5
CNA record
wger wger
wger:wger
before 2.5
NVD

References

  • x-refsource-confirm, exploit, mitigation, vendor-advisory
  • x-refsource-misc, release-notes

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.