CVE-2025-8381 Campcodes Online Hotel Reservation System add_reserve.php sql injection
Remote attackers can exploit SQL injection in the room_id parameter to read or modify database contents in the Campcodes Online Hotel Reservation System.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-8381?
CVE-2025-8381 is a medium-severity SQL injection vulnerability in Campcodes Online Hotel Reservation System, published on 31 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability, which was classified as critical, has been found in Campcodes Online Hotel Reservation System 1.0. This issue affects some unknown processing of the file /add_reserve.php. The manipulation of the argument room_id leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-8381?
It affects 1 product.
Products include Campcodes Online Hotel Reservation System.
How do I fix CVE-2025-8381?
No fix has been published for CVE-2025-8381 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-8381 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8381 exists.
Other vulnerabilities in Campcodes Online Hotel Reservation System
- CVE-2025-8378 Campcodes Online Hotel Reservation System Login index.php sql injection
- CVE-2025-8382 Campcodes Online Hotel Reservation System edit_room.php sql injection
- CVE-2025-8379 Campcodes Online Hotel Reservation System edit_room.php unrestricted upload
- CVE-2025-8380 Campcodes Online Hotel Reservation System add_query_account.php cross site scripting
Sources
Also known as GHSA-mph6-96hf-9hrp.