CVE-2023-38758 wger Workout Manager Cross-site Scripting vulnerability
A remote attacker can exploit a Cross-Site Scripting vulnerability in the ingredient license field to gain unauthorized privileges in wger Workout Manager.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-38758?
CVE-2023-38758 is a medium-severity cross-site scripting vulnerability in n/a, published on 8 Aug 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross Site Scripting vulnerability in wger Project wger Workout Manager v.2.2.0a3 allows a remote attacker to gain privileges via the license_author field in the add-ingredient function in the templates/ingredients/view.html, models/ingredients.py, and views/ingredients.py components.
Weakness: CWE-79
Which versions are affected by CVE-2023-38758?
3 open source packages ship an affected version, including wger. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
wger PyPI | All versions | None |
wger PyPI | All versions to 2.2.0a3 | None |
wger PyPI | All versions to 2.2.0a3 | None |
Products include Wger Workout Manager.
How do I fix CVE-2023-38758?
No fix has been published for CVE-2023-38758 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-38758 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38758 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-8m9p-3926-gffr, PYSEC-2023-143.