{"answers":{"affected":"3 open source packages ship an affected version, including wger. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38758 exists.","fix":"No fix has been published for CVE-2023-38758 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2023-38758 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38758 exists.\n\nAffected packages and fixed versions:\n- wger (PyPI): affected all versions; no fix listed\n- wger (PyPI): affected all versions up to 2.2.0a3; no fix listed\n- wger (PyPI): affected all versions up to 2.2.0a3; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-38758/ (Markdown: https://insights.sbomify.com/CVE-2023-38758/index.md)","id":"CVE-2023-38758","markdown":"https://insights.sbomify.com/CVE-2023-38758/index.md","name":"CVE-2023-38758","record":{"aliases":["GHSA-8m9p-3926-gffr","PYSEC-2023-143"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"wger Workout Manager","requires_auth":"low_privilege","summary":"A remote attacker can exploit a Cross-Site Scripting vulnerability in the ingredient license field to gain unauthorized privileges in wger Workout Manager.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"workout_manager","vendor":"wger"}],"cvss":{"score":5.4,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"wger Workout Manager Cross-site Scripting vulnerability","id":"CVE-2023-38758","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"wger Workout Manager Cross-Site Request Forgery vulnerability","id":"CVE-2023-38759"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":[],"package":"wger","purl":"pkg:pypi/wger","source":"PYSEC-2023-143"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["2.2.0a3"],"package":"wger","purl":null,"source":"GHSA-8m9p-3926-gffr"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["2.2.0a3"],"package":"wger","purl":"pkg:pypi/wger","source":"GHSA-8m9p-3926-gffr"}],"prev":{"headline":"Missing authorization in Special Interest Group Network for Analysis and Liaison","id":"CVE-2023-38752"},"products":["n/a"],"published":"2023-08-08","related":[{"cvss_score":8.8,"headline":"wger Workout Manager Cross-Site Request Forgery vulnerability","id":"CVE-2023-38759","kev_date_added":null,"published":"2023-08-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-10","vendors":["n/a"]},"summary":"A remote attacker can exploit a Cross-Site Scripting vulnerability in the ingredient license field to gain unauthorized privileges in wger Workout Manager.","url":"https://insights.sbomify.com/CVE-2023-38758/"}