{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-25627 exists.","fix":"No fix has been published for CVE-2024-25627 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-25627 is a low-severity cross-site scripting vulnerability in alfio-event alf.io, published on 16 Feb 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-25627 and fix it if it is affected.\n\nWhat it is: CVE-2024-25627 is a low-severity cross-site scripting vulnerability in alfio-event alf.io, published on 16 Feb 2024. An attacker needs administrator access to exploit it, 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-2024-25627 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-25627/ (Markdown: https://insights.sbomify.com/CVE-2024-25627/index.md)","id":"CVE-2024-25627","markdown":"https://insights.sbomify.com/CVE-2024-25627/index.md","name":"CVE-2024-25627","record":{"aliases":["GHSA-gpmg-8f92-37cf"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Event management system","requires_auth":"high_privilege","summary":"Administrators can upload malicious HTML files leading to persistent XSS, allowing attackers to maintain access; upgrade to the latest version.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"alf","vendor":"alf"}],"cvss":{"score":3.5,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"Alf.io is a free and open source event attendance management system. An administrator on the alf.io application is able to upload HTML files that trigger JavaScript payloads. As such, an attacker gaining administrative access to the alf.io application may be able to persist access by planting an XSS payload. This issue has been addressed in version 2.0-M4-2402. Users are advised to upgrade. There are no known workarounds for this vulnerability.","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":"Cross-Site Scripting (XSS) via File Upload in Alf.io","id":"CVE-2024-25627","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Insufficient Session Expiration in alf.io","id":"CVE-2024-25628"},"packages":[],"prev":{"headline":"Yocto Project Security Advisory - BitBake/Toaster","id":"CVE-2024-25626"},"products":["alf.io"],"published":"2024-02-16","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-08-26","vendors":["alfio-event"]},"summary":"Administrators can upload malicious HTML files leading to persistent XSS, allowing attackers to maintain access; upgrade to the latest version.","url":"https://insights.sbomify.com/CVE-2024-25627/"}