CVE-2025-6296 code-projects Hostel Management System empty_rooms.php sql injection
Remote attackers can exploit SQL injection in the search box to read or modify database contents in the Hostel Management System.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-6296?
CVE-2025-6296 is a medium-severity SQL injection vulnerability in code-projects Hostel Management System, published on 20 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was found in code-projects Hostel Management System 1.0. It has been rated as critical. Affected by this issue is some unknown functionality of the file /empty_rooms.php. The manipulation of the argument search_box leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-6296?
It affects 1 product.
Products include Fabian Hostel Management System.
How do I fix CVE-2025-6296?
No fix has been published for CVE-2025-6296 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-6296 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6296 exists.
Other vulnerabilities in code-projects Hostel Management System
- CVE-2025-6293 code-projects Hostel Management System contact_manager.php sql injection
- CVE-2025-6294 code-projects Hostel Management System contact.php sql injection
- CVE-2025-6295 code-projects Hostel Management System allocated_rooms.php sql injection
- CVE-2025-6159 code-projects Hostel Management System allocate_room.php sql injection
- CVE-2024-13012 code-projects Hostel Management System registration.php cross site scripting
Sources
Also known as GHSA-rw65-hh87-m6g3.