CVE-2024-0504: code-projects Simple Online Hotel Reservation System · Cross-site Scripting
Affects code-projects Simple Online Hotel Reservation SystemSource CVE Database V5
Not known to be exploited · CVSS 3.5 Low.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| code-projects Simple Online Hotel Reservation System | Affected
| Fixed in– |
AI-suggested
To mitigate this vulnerability effectively, European organizations using the affected system should: 1) Immediately implement input validation and output encoding on the 'Firstname' and 'Lastname' fields in the add_reserve.php script to neutralize any injected scripts. This can be done by using established libraries or frameworks that automatically escape HTML special characters. 2) If possible, upgrade to a newer, patched version of the software once available or apply vendor-provided patches. 3) Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in the browser context, limiting the impact of any injected code. 4) Conduct regular security audits and penetration testing focusing on input fields to detect similar injection flaws. 5) Educate staff and users about the risks of clicking suspicious links or submitting unexpected inputs. 6) Monitor web server logs and application behavior for unusual requests or error patterns that may indicate attempted exploitation. 7) Consider deploying Web Application Firewalls (WAFs) with rules to detect and block common XSS attack payloads targeting the reservation system. These measures go beyond generic advice by focusing on specific code-level fixes, layered defenses, and operational monitoring tailored to this vulnerability.
Description
A vulnerability has been found in code-projects Simple Online Hotel Reservation System 1.0 and classified as problematic. This vulnerability affects unknown code of the file add_reserve.php of the component Make a Reservation Page. The manipulation of the argument Firstname/Lastname with the input <script>alert(1)</script> leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. VDB-250618 is the identifier assigned to this vulnerability.