Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or register low-privilege account
-
DeliveryAuthenticate to Hospital Management System
-
ExploitCraft SQL injection payload targeting editid parameter
-
ExecutionSubmit malicious GET/POST request to /appointmentdetail.php
-
PersistBackend query executes injected SQL
-
ImpactExtract or manipulate appointment and patient database records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid low-privilege authenticated session within the itsourcecode Hospital Management System - the CVSS 4.0 PR:L metric explicitly confirms that unauthenticated exploitation is not indicated. The attacker must have network access to the |
| Impact | The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a low-complexity, network-reachable attack requiring only a low-privilege authenticated session - no special configuration or user interaction needed. The E:P supplemental metric explicitly confirms a proven public exploit exists, which aligns with the GitHub PoC reference. Impact metrics (VC:L/VI:L/VA:L/SC:N/SI:N/SA:N) indicate partial and contained impact, suggesting the database user account likely has constrained privileges. No EPSS score was provided in the input data, so exploitation probability cannot be quantified probabilistically. The product is absent from CISA KEV, so widespread active exploitation is not confirmed. However, the itsourcecode ecosystem targets developers who may deploy these systems in small healthcare or academic settings without hardening - meaning real deployments exist despite the educational framing. Real-world risk is moderate-to-low due to: the authentication prerequisite limiting unauthenticated mass scanning, the narrow production footprint of this codebase, and partial rather than full database compromise as the likely outcome. |
| Exploit ScenarioDerived | An attacker with a low-privilege authenticated account - such as a patient portal login or a staff registration - navigates to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 29, 2026
SQL injection in itsourcecode Hospital Management System 1.0 exposes the Appointment Handler endpoint /appointmentdetail.php to remote database manipulation via the unsanitized editid parameter. The CVSS 4.0 vector (PR:L, E:P) confirms low-privilege authentication is required and a public proof-of-concept exploit is available on GitHub, materially lowering the bar for exploitation. While not listed in CISA KEV, the combination of network reachability, trivial exploitation complexity, and live PoC code makes this a concrete risk for any organization running this codebase in production.
RemediationAI
No vendor-released patch has been identified at time of analysis. Given that itsourcecode publishes educational demo code rather than maintained enterprise software, a formal patch release is unlikely in the near term. The correct code-level fix is to replace dynamic SQL string concatenation in /appointmentdetail.php with PHP PDO or MySQLi prepared statements and parameterized queries for the editid input, directly resolving CWE-89. As compensating controls for organizations that cannot immediately modify the code: restrict the appointment management interface to authenticated internal network users only (firewall or reverse proxy ACL), and deploy a Web Application Firewall rule to detect and block SQL injection payloads in the editid parameter - noting WAF rules can be bypassed with encoding tricks and are not a permanent fix. Audit and reduce the privileges of the database account used by the application to the minimum required (SELECT/INSERT/UPDATE on specific tables, no FILE or DROP rights) to limit the impact of successful exploitation. Production deployment of this educational codebase is strongly discouraged.
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
The affected product is a PHP-based Hospital Management System distributed by itsourcecode (CPE: cpe:2.3:a:itsourcecode:hospital_management_system:*:*:*:*:*:*:*:*), primarily packaged as an educational or demo web application. The root cause is CWE-89 - Improper Neutralization of Special Elements Used in an SQL Command - meaning the PHP code in /appointmentdetail.php concatenates user-supplied input directly into a SQL query without using parameterized statements or prepared queries. The editid parameter, used to identify and retrieve appointment records in the Appointment Handler component, is the injection point. This class of flaw allows an attacker to alter the logic of the backend SQL statement, enabling data extraction, modification, or, depending on database account permissions, potentially broader database operations.
Know when Hospital 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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable endpoint requires low-privilege authentication (PR:L); SQL injection yields partial data read/write with no confirmed scope change or full database admin access.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was identified in itsourcecode Hospital Management System 1.0. This impacts an unknown function of the file /appointmentdetail.php of the component Appointment Handler. The manipulation of the argument editid leads to sql injection. The attack is possible to be carried out remotely. The exploit is publicly available and might be used.
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.
Related Vulnerabilities in itsourcecode Hospital Management System SQL Injection Flaws
View all 4More in Hospital Management System
View allAn arbitrary file upload vulnerability in the component /jquery-file-upload/server/php/index.php of Hospital Management
A JQuery Unrestricted Arbitrary File Upload vulnerability was discovered in Hospital Management System V4.0 which allows
SQL injection vulnerability in Hospital Management System Project in ASP.Net MVC 1 allows aremote attacker to execute ar
A vulnerability was found in SourceCodester Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vul
A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r
A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r
A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r
A privilege escalation issue was found in PHP Gurukul Hospital Management System In v.4.0 allows a remote attacker to ex
Hospital Management System v1.0 was discovered to contain multiple SQL injection vulnerabilities via the Username and Pa
Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the editid parameter at orde
Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the loginid parameter at doc
Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the loginid parameter at adm
EUVD-2026-40027
GHSA-88wf-x37g-mj38
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB