# CVE-2026-40353

> Vulnerability · severity: **MEDIUM** (CVSS 5.4).

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

## Key facts

- **CVE ID:** CVE-2026-40353
- **Published:** 2026-04-17
- **CVSS severity:** MEDIUM
- **CVSS base score:** 5.4
- **CWE codes:** CWE-79

## Affected products

- `wger:wger`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-40353

## Citation

> AI Analytics. CVE-2026-40353. Retrieved 2026-07-20 from https://api.ai-analytics.org/cve/CVE-2026-40353. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*