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 web interface
-
ExploitCraft HTTP request to /patientdetail.php with malicious editid value
-
ExecutionSQL payload executes in backend database query
-
ImpactExtract patient records or enumerate database schema
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 | The CVSS 4.0 vector specifies PR:L (low privileges required), meaning the attacker must possess at least a basic authenticated session within the Hospital Management System - unauthenticated external access to the vulnerable parameter is not sufficient. The |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) establishes that the attack is network-reachable, requires no complex conditions, and needs only low privileges - a standard authenticated session. The supplemental E:P modifier (exploit proof-of-concept public) is reflected in the scored value of 2.1, which is unusually low for SQL injection; this is because the VC:L/VI:L/VA:L impact ratings constrain the score, likely assuming a restricted database account. In practice, SQL injection commonly enables full schema enumeration and table extraction regardless of the scored impact, making the 2.1 score potentially misleading for defenders. No EPSS data was provided in input, and CISA KEV status is absent, meaning active mass exploitation is not confirmed. The primary risk driver here is the public POC combined with the sensitivity of data (patient records in a healthcare context) rather than the raw score. For environments running this software, the availability of a ready exploit against a healthcare data store warrants treatment above what the score alone would suggest. |
| Exploit ScenarioDerived | An attacker with a low-privilege authenticated session in the Hospital Management System sends a crafted HTTP request 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 /patientdetail.php endpoint to database manipulation via the unsanitized editid parameter, reachable by any low-privileged authenticated user over the network. A public proof-of-concept exploit is available (referenced via GitHub issue), lowering the skill barrier for exploitation against any deployed instance. The CVSS 4.0 score of 2.1 reflects low per-impact ratings across confidentiality, integrity, and availability, but SQL injection vulnerabilities routinely exceed their scored impact bounds when database accounts carry excess privileges - no public exploitation has been confirmed in CISA KEV.
RemediationAI
No vendor-released patch has been identified at time of analysis - the itsourcecode project site (https://itsourcecode.com/) does not reference a fix for this CVE. The primary remediation is to rewrite the editid handling in /patientdetail.php using PHP PDO or MySQLi prepared statements with bound parameters, eliminating the injection vector entirely. As an immediate compensating control, restrict application access to trusted internal networks or VPN-only access, preventing opportunistic external exploitation. Deploy a web application firewall rule to block SQL metacharacters (single quotes, UNION, SELECT keywords) in the editid parameter - note this approach is bypassable with encoding techniques and should not be treated as a permanent fix. Additionally, audit and reduce the database account privileges used by the application to SELECT-only on necessary tables, and revoke FILE, DROP, and EXECUTE permissions to limit post-exploitation impact. Given this appears to be a demo or educational codebase, consider whether production deployment is appropriate at all.
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 application is a PHP-based hospital management system developed by itsourcecode (CPE: cpe:2.3:a:itsourcecode:hospital_management_system:*:*:*:*:*:*:*:*). The root cause is CWE-89 (Improper Neutralization of Special Elements Used in an SQL Command), a classic unsanitized input flaw where the editid HTTP parameter in /patientdetail.php is concatenated directly into a SQL query without parameterization, escaping, or type enforcement. This pattern is endemic to legacy PHP applications that do not use PDO or MySQLi prepared statements. The wildcard in the CPE version field indicates NVD has not bounded the affected version range beyond the reported 1.0 release.
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; no scope change; low CIA impact consistent with limited database account privileges assumed by the application.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security flaw has been discovered in itsourcecode Hospital Management System 1.0. Affected by this vulnerability is an unknown functionality of the file /patientdetail.php. Performing a manipulation of the argument editid results in sql injection. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks.
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 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-40120
GHSA-m9j8-rwpf-q8xx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB