Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | This vulnerability presents elevated real-world risk despite CVSS 7.3 being mid-range. Multiple risk signals converge: (1) Attack Vector=Network with AC=Low and PR=None indicates trivial remote exploitation requiring no privilege escalation or special conditions; (2) CWE-74/SQL injection is highly automatable—standard SQLi payloads (UNION-based, time-based blind, error-based) are likely effective; (3) public disclosure with available POC significantly lowers the barrier to exploitation by script kiddies and automated scanners; (4) the affected product (Hostel Management System) is likely to handle sensitive data (guest information, bookings, payment details), making the C:L/I:L/A:L impact understated—actual impact could include guest PII exfiltration and business logic compromise. The CVSS vector (C:L/I:L/A:L) appears conservative; SQL injection on a business application typically enables full database compromise. From an SSVC perspective: exploitation is active (POC public), the attack is automatable (standard SQL injection), and technical impact is high (database compromise). Recommendation: HIGH PRIORITY for immediate patching; organizations running Hostel Management System 1.0 should treat this as critical regardless of CVSS score. |
| Exploit ScenarioDerived | An attacker discovers a Hostel Management System 1.0 instance deployed at example-hostel.com. They craft a malicious GET request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
CVE-2025-6294 is a critical SQL injection vulnerability in code-projects Hostel Management System version 1.0, specifically in the /contact.php file's hostel_name parameter. An unauthenticated remote attacker can exploit this without user interaction to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has been publicly disclosed with exploit code available, and while CVSS 7.3 indicates moderate-to-high severity with confidentiality, integrity, and availability impact, the simplicity of exploitation (network-accessible, no privileges required, low complexity) makes this a practical threat requiring immediate patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability exists due to improper input validation and parameterization in the contact.php endpoint, falling under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component, commonly manifesting as SQL injection). The affected component is code-projects' Hostel Management System, a web-based property management application written in PHP. The vulnerability stems from concatenating user-supplied input (hostel_name parameter) directly into SQL queries without prepared statements or parameterized queries. The attack vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N, meaning the flaw is remotely exploitable over the network with no authentication, no special conditions, and no user interaction required—a classic SQL injection pattern in PHP applications that fail to use mysqli_prepare() or PDO prepared statements.
Know when Hostel Management System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
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.
Executive ViewAI
A critical SQL injection vulnerability in Hostel Management System 1.0 allows remote attackers to execute arbitrary database commands through the /contact.php file. Organizations using this system face immediate risk of data breach, unauthorized access, and potential operational disruption, especially if customer or booking data is exposed.
Within 24 hours: Isolate affected systems from production networks or disable the /contact.php contact feature if non-critical; immediately notify all users of the system about potential exposure. Within 7 days: Implement Web Application Firewall (WAF) rules to block SQL injection patterns targeting the hostel_name parameter; conduct database access logs review for signs of exploitation; assess data exposure scope. Within 30 days: Evaluate migration to patched version or alternative software solution; if patch becomes available, prioritize deployment; perform full security audit of the application and database.
Implement WAF rules to filter SQL metacharacters in hostel_name parameter; disable /contact.php endpoint if not critical to operations; restrict database user permissions to read-only for web application; enable SQL query logging and real-time alerting for suspicious database activity; place application behind reverse proxy with input validation; conduct immediate vulnerability scanning to identify if systems have been compromised.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Hostel Management System
View allPHPGurukul Hostel Management System v2.0 allows SQL injection via the id parameter in the full-profile.php file. Rated c
A vulnerability was found in PHPGurukul Hostel Management System 2.1 in the /hostel/change-password.php file of the user
Cross-Site Scripting (XSS) and Cross-Site Request Forgery (CSRF) vulnerability exits in hostel management system 2.1 via
Cross-Site Scripting in phpgurukul Hostel Management System v2.1 user-provided complaint fields (Explain the Complaint)
A vulnerability, which was classified as critical, was found in Surya2Developer Hostel Management System 1.0. Rated medi
Cross-Site Scripting (XSS) vulnerability in Hostel Management System v2.1 allows an attacker to execute arbitrary code v
Critical SQL injection vulnerability in code-projects Hostel Management System version 1.0, specifically in the /allocat
Critical SQL injection vulnerability in PHPGurukul Hostel Management System 1.0 affecting the login functionality (/incl
A SQL injection vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.
A SQL injection vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.
CVE-2025-6296 is a critical SQL injection vulnerability in code-projects Hostel Management System version 1.0, specifica
A SQL injection vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.
EUVD-2025-28713
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB