Skip to content
OpenAdvisories
Medium · 5.1 CVE-2026-40353 EUVD-2026-23561GHSA-6f54-qjvm-wwq3PYSEC-2026-3419

wger: Stored XSS via Unescaped License Attribution Fields

Published Apr 17, 2026 · Updated Apr 20, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
wger-project wger < 2.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI wger <= 2.4 — GHSA-6f54-qjvm-wwq3

References