Skip to main content
CVE-2025-6294VulnerabilityPublished Updated

CVE-2025-6294: 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

1. Immediate isolation of the affected Hostel Management System instances from public internet access using network segmentation or firewall rules to restrict access to trusted internal networks only. 2. Implement Web Application Firewall (WAF) rules specifically designed to detect and block SQL injection attempts targeting the 'hostel_name' parameter in /contact.php. 3. Conduct a thorough code review and apply input validation and parameterized queries or prepared statements for all database interactions involving user-supplied input, especially the 'hostel_name' parameter. 4. Monitor logs for unusual database query patterns or repeated access attempts to /contact.php that may indicate exploitation attempts. 5. If feasible, replace or upgrade the Hostel Management System to a version that addresses this vulnerability or migrate to alternative software solutions with active security support. 6. Educate IT and security teams about this vulnerability and ensure incident response plans are updated to handle potential exploitation scenarios. 7. Regularly back up the database and system configurations to enable recovery in case of data corruption or loss due to exploitation. 8. Engage with the vendor or community to obtain or develop patches and apply them promptly once available.

Description

A vulnerability was found in code-projects Hostel Management System 1.0. It has been classified as critical. Affected is an unknown function of the file /contact.php. The manipulation of the argument hostel_name leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

References

Community reviews

Loading reviews…