{"answers":{"affected":"3 open source packages ship an affected version, including pretix. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-8113 in the wild and no public exploit code.","fix":"Upgrade pretix to 2024.7.1 or later.","what":"CVE-2024-8113 is a high-severity cross-site scripting vulnerability in pretix, published on 23 Aug 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-8113 and fix it if it is affected.\n\nWhat it is: CVE-2024-8113 is a high-severity cross-site scripting vulnerability in pretix, published on 23 Aug 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-8113 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pretix (PyPI): affected all versions; fixed in 2024.7.1\n- pretix (PyPI): affected all versions; fixed in 2024.7.1\n- pretix (PyPI): affected all versions; fixed in 2024.7.1\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-2024-8113/ (Markdown: https://insights.sbomify.com/CVE-2024-8113/index.md)","id":"CVE-2024-8113","markdown":"https://insights.sbomify.com/CVE-2024-8113/index.md","name":"CVE-2024-8113","record":{"aliases":["GHSA-45rp-q25w-4426","PYSEC-2024-180"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"pretix event management","requires_auth":"high_privilege","summary":"Malicious event organizers can inject HTML into email previews, potentially leading to account takeover if a CSP bypass exists.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"rami.io","cpe":[{"product":"pretix","vendor":"pretix"}],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/R:U/RE:L/U:Green","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Stored XSS in organizer and event settings of pretix up to 2024.7.0 allows malicious event organizers to inject HTML tags into e-mail previews on settings page. The default Content Security Policy of pretix prevents execution of attacker-provided scripts, making exploitation unlikely. However, combined with a CSP bypass (which is not currently known) the vulnerability could be used to impersonate other organizers or staff users.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Stored XSS in Placeholder Samples in Mail Preview","id":"CVE-2024-8113","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":3,"n_references":1,"next":{"headline":"Missing Authorization in GitLab","id":"CVE-2024-8114"},"packages":[{"ecosystem":"PyPI","fixed":["2024.7.1"],"introduced":["0"],"last_affected":[],"package":"pretix","purl":null,"source":"GHSA-45rp-q25w-4426"},{"ecosystem":"PyPI","fixed":["2024.7.1"],"introduced":["0"],"last_affected":[],"package":"pretix","purl":"pkg:pypi/pretix","source":"GHSA-45rp-q25w-4426"},{"ecosystem":"PyPI","fixed":["2024.7.1"],"introduced":["0"],"last_affected":[],"package":"pretix","purl":"pkg:pypi/pretix","source":"PYSEC-2024-180"}],"prev":{"headline":"thinkgem JeeSite Cookie login cross site scripting","id":"CVE-2024-8112"},"products":["pretix"],"published":"2024-08-23","related":[{"cvss_score":9.8,"headline":"pretix mishandles file validation","id":"CVE-2024-27447","kev_date_added":null,"published":"2024-02-26"},{"cvss_score":7.5,"headline":"Unsafe variable evaluation in email templates","id":"CVE-2026-2415","kev_date_added":null,"published":"2026-02-16"},{"cvss_score":5.5,"headline":"pretix: API leaks check-in data between events of the same organizer","id":"CVE-2026-5600","kev_date_added":null,"published":"2026-04-08"},{"cvss_score":2.4,"headline":"Limited HTML injection in emails","id":"CVE-2025-13742","kev_date_added":null,"published":"2025-11-27"}],"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-30","vendors":["pretix"]},"summary":"Malicious event organizers can inject HTML into email previews, potentially leading to account takeover if a CSP bypass exists.","url":"https://insights.sbomify.com/CVE-2024-8113/"}