Live threats

All CVEs / Wger

CVE-2026-40353Wger

Medium 5.1

Priority
31
CVSS 4.0
5.1
EPSS
—
Auth required
Yes
Published
Apr 17, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Wger.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI wger ≤ 2.4 no fixed version —
PyPI wger ≤ 2.4 no fixed version —

Per OSV / GitHub Advisories (GHSA-6f54-qjvm-wwq3, PYSEC-2026-3419). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
wgerwger< 2.5

Official sources

References

Links published by the sources. Open them with care.