CVE-2025-6295: code-projects Hostel Management System · SQL Injection
Affects code-projects Hostel Management SystemSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- 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:PExploitation evidence
Disclosed: evidence found.
CVE published 20 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| code-projects Hostel Management System | Affected
| Fixed in– |
AI-suggested
1. Immediate mitigation should include restricting external access to the Hostel Management System, ideally limiting it to trusted internal networks or VPNs to reduce exposure. 2. Implement Web Application Firewall (WAF) rules specifically designed to detect and block SQL injection patterns targeting the 'search_box' parameter in /allocated_rooms.php. 3. Conduct a thorough code review and apply input validation and parameterized queries or prepared statements to sanitize all user inputs, especially the 'search_box' parameter. 4. If possible, upgrade to a patched version once available or apply vendor-provided patches promptly. 5. Monitor logs for suspicious query patterns or repeated failed attempts that could indicate exploitation attempts. 6. As a temporary workaround, disable or restrict the functionality relying on the vulnerable parameter if feasible. 7. Educate IT and security teams about this vulnerability and ensure incident response plans include steps to handle potential exploitation. 8. Perform regular backups and ensure recovery procedures are tested to mitigate data loss risks from potential attacks.
Description
A vulnerability was found in code-projects Hostel Management System 1.0. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /allocated_rooms.php. The manipulation of the argument search_box leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.