Skip to main content
CVE-2025-6296VulnerabilityPublished Updated

CVE-2025-6296: code-projects Hostel Management System · SQL Injection

Affects code-projects Hostel Management SystemSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
code-projects Hostel Management SystemAffected
  • =1.0
Fixed in–

AI-suggested

Organizations using the code-projects Hostel Management System 1.0 should immediately implement the following mitigations: 1) Apply input validation and sanitization on the 'search_box' parameter, ideally using prepared statements or parameterized queries to prevent SQL injection. 2) If source code modification is not feasible, deploy a Web Application Firewall (WAF) with custom rules to detect and block SQL injection payloads targeting the /empty_rooms.php endpoint. 3) Restrict network access to the Hostel Management System to trusted internal networks or VPNs to reduce exposure to remote attackers. 4) Conduct thorough security audits and penetration testing on the application to identify and remediate other potential injection points. 5) Monitor logs for suspicious query patterns or repeated failed attempts targeting the vulnerable parameter. 6) Engage with the vendor or community to obtain patches or updates and plan for an upgrade to a fixed version once available. 7) Educate IT staff and administrators about this vulnerability and ensure incident response plans include steps for SQL injection incidents.

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.

References

Community reviews

Loading reviews…