CVE-2026-40353CWE-79

wger: Stored XSS via Unescaped License Attribution Fields

Medium · published April 17, 2026

CVSS v4.0
5.1
EPSS
0%
Percentile
15.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.1 · MEDIUM
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
EPSS
0.00248 · 15.2th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-04-17T21:16Z
EPSS history
Timeline
  • 17 APR 21:16Z
    wger: Stored XSS via Unescaped License Attribution Fields
    cvelistv5