CVE-2026-40353

5.4 MEDIUM
Published: April 17, 2026 Modified: April 24, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/wger-project/wger/releases/tag/2.5
Source: security-advisories@github.com
Release Notes
https://github.com/wger-project/wger/security/advisories/GHSA-6f54-qjvm-wwq3
Source: security-advisories@github.com
Exploit Vendor Advisory Mitigation
https://github.com/wger-project/wger/security/advisories/GHSA-6f54-qjvm-wwq3
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit Vendor Advisory Mitigation

3 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.4 / 10.0
EPSS (Exploit Probability)
0.2%
11th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

wger