CVE-2025-10798 code-projects Hostel Management System index.php sql injection
Remote attackers can exploit SQL injection in the admin room type view to read or modify database contents.
- 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-10798?
CVE-2025-10798 is a medium-severity SQL injection vulnerability in code-projects Hostel Management System, published on 22 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was identified in code-projects Hostel Management System 1.0. Impacted is an unknown function of the file /justines/admin/mod_roomtype/index.php?view=view. Such manipulation of the argument ID leads to sql injection. The attack may be launched remotely. The exploit is publicly available and might be used.
Which versions are affected by CVE-2025-10798?
It affects 1 product.
Products include Angeljudesuarez Hostel Management System.
How do I fix CVE-2025-10798?
No fix has been published for CVE-2025-10798 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-10798 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-10798 exists.
Other vulnerabilities in code-projects Hostel Management System
- CVE-2025-11040 code-projects Hostel Management System index.php sql injection
- CVE-2025-10796 code-projects Hostel Management System login.php sql injection
- CVE-2025-10797 code-projects Hostel Management System index.php sql injection
- CVE-2025-10799 code-projects Hostel Management System index.php sql injection
- CVE-2025-10811 code-projects Hostel Management System index.php sql injection
Sources
Also known as GHSA-5frx-g34r-5mmm.