CVE-2024-0504 code-projects Simple Online Hotel Reservation System Make a Reservation Page add_reserve.php cross site scripting

Low 3.5 Published Updated

An attacker can inject malicious scripts via the Firstname or Lastname fields in the reservation form, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-0504?

CVE-2024-0504 is a low-severity cross-site scripting vulnerability in code-projects Simple Online Hotel Reservation System, published on 13 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2024-0504?

It affects 1 product.

Products include Fabian Simple Online Hotel Reservation System.

How do I fix CVE-2024-0504?

No fix has been published for CVE-2024-0504 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-0504 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-0504 exists.

Sources

Also known as GHSA-f5cp-jgg3-jx6f.

Is CVE-2024-0504 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free