CVE-2025-6293: 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 implementing a Web Application Firewall (WAF) with rules specifically designed to detect and block SQL Injection attempts targeting the 'student_roll_no' parameter. 2. Conduct a thorough code review and refactor the /contact_manager.php script to use parameterized queries or prepared statements, eliminating direct concatenation of user input into SQL commands. 3. Apply strict input validation and sanitization on all user-supplied data, enforcing type and format constraints on 'student_roll_no'. 4. If upgrading or patching the Hostel Management System is not immediately possible, isolate the affected system within the network using segmentation and restrict external access to minimize exposure. 5. Monitor database logs and application logs for unusual query patterns or failed injection attempts to detect potential exploitation attempts early. 6. Educate IT and security teams about this specific vulnerability to ensure rapid response and incident handling. 7. Engage with the vendor or community to obtain or develop patches or updated versions addressing this vulnerability. 8. Regularly back up the database and verify backup integrity to enable recovery in case of data tampering.
Description
A vulnerability was found in code-projects Hostel Management System 1.0 and classified as critical. This issue affects some unknown processing of the file /contact_manager.php. The manipulation of the argument student_roll_no leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.