{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45299 exists.","fix":"No fix has been published for CVE-2024-45299 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-45299 is a medium-severity cross-site scripting vulnerability in alfio-event alf.io, published on 6 Sep 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-45299 and fix it if it is affected.\n\nWhat it is: CVE-2024-45299 is a medium-severity cross-site scripting vulnerability in alfio-event alf.io, published on 6 Sep 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45299 exists.\n\nAffected product: alfio-event alf.io. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-45299/ (Markdown: https://insights.sbomify.com/CVE-2024-45299/index.md)","id":"CVE-2024-45299","markdown":"https://insights.sbomify.com/CVE-2024-45299/index.md","name":"CVE-2024-45299","record":{"aliases":["GHSA-mcx6-25f8-8rqw"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"alf.io ticketing system","requires_auth":"high_privilege","summary":"Administrators can inject malicious scripts via unescaped JSON data in alf.io, potentially leading to code execution despite CSP restrictions.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"alf","vendor":"alf"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"alf.io is an open source ticket reservation system for conferences, trade shows, workshops, and meetups. Prior to version 2.0-M5, the preloaded data as json is not escaped correctly, the administrator / event admin could break their own install by inserting non correctly escaped text. The Content-Security-Policy directive blocks any potential script execution. The administrator or event administrator can override the texts for customization purpose. The texts are not properly escaped. Version 2.0-M5 fixes this issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"alf.io's preloaded data as json is not escaped correctly","id":"CVE-2024-45299","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Bypassing promo code limitations with race conditions","id":"CVE-2024-45300"},"packages":[],"prev":{"headline":"Disabled user can bypass lockout by requesting password reset in wiki.js","id":"CVE-2024-45298"},"products":["alf.io"],"published":"2024-09-06","related":[{"cvss_score":9.1,"headline":"Improper Neutralization of Special Elements Used in a Template Engine in alfio-event/alf.io","id":"CVE-2023-2259","kev_date_added":null,"published":"2023-04-24"},{"cvss_score":8.8,"headline":"IDOR Vulnerability: Allowing Organization Owner to view the other Organizations API KEY and USERS","id":"CVE-2024-25635","kev_date_added":null,"published":"2024-02-19"},{"cvss_score":8.8,"headline":"Improper Neutralization of Formula Elements in a CSV File in alfio-event/alf.io","id":"CVE-2023-2258","kev_date_added":null,"published":"2023-04-24"},{"cvss_score":8.8,"headline":"Authorization Bypass Through User-Controlled Key in alfio-event/alf.io","id":"CVE-2023-2260","kev_date_added":null,"published":"2023-04-24"},{"cvss_score":8,"headline":"alf.io has an Authenticated RCE via Extension Script Sandbox Escape","id":"CVE-2026-35482","kev_date_added":null,"published":"2026-06-02"},{"cvss_score":7.6,"headline":"Insufficient Session Expiration in alf.io","id":"CVE-2024-25628","kev_date_added":null,"published":"2024-02-16"},{"cvss_score":7.5,"headline":"Bypassing promo code limitations with race conditions","id":"CVE-2024-45300","kev_date_added":null,"published":"2024-09-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-09-06","vendors":["alfio-event"]},"summary":"Administrators can inject malicious scripts via unescaped JSON data in alf.io, potentially leading to code execution despite CSP restrictions.","url":"https://insights.sbomify.com/CVE-2024-45299/"}