CVE-2024-45299 alf.io's preloaded data as json is not escaped correctly
Administrators can inject malicious scripts via unescaped JSON data in alf.io, potentially leading to code execution despite CSP restrictions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-45299?
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.
Official 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.
Weakness: CWE-116
Which versions are affected by CVE-2024-45299?
It affects 1 product.
Products include Alf Alf.
How do I fix CVE-2024-45299?
No fix has been published for CVE-2024-45299 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-2024-45299 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45299 exists.
Other vulnerabilities in alfio-event alf.io
- CVE-2023-2259 Improper Neutralization of Special Elements Used in a Template Engine in alfio-event/alf.io
- CVE-2024-25635 IDOR Vulnerability: Allowing Organization Owner to view the other Organizations API KEY and USERS
- CVE-2023-2258 Improper Neutralization of Formula Elements in a CSV File in alfio-event/alf.io
- CVE-2023-2260 Authorization Bypass Through User-Controlled Key in alfio-event/alf.io
- CVE-2026-35482 alf.io has an Authenticated RCE via Extension Script Sandbox Escape
Sources
Also known as GHSA-mcx6-25f8-8rqw.