Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or guess HMS user credentials
-
DeliveryAuthenticate to web application
-
ExploitSubmit crafted patientid to /paymentdischarge.php
-
ExecutionSQL payload executes in database context
-
ImpactRead or modify patient and billing 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-privileged user account within the Hospital Management System, as confirmed by the CVSS PR:L metric. The attacker must be able to reach |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) rates this Medium at 5.3, reflecting straightforward network exploitation at low complexity, but bounded by a low-privilege authentication requirement (PR:L) and limited per-category impact (VC:L/VI:L/VA:L with no scope change to subsequent systems). No EPSS data was provided in the input, so exploitation probability cannot be quantified precisely. No CISA KEV listing exists, indicating no confirmed widespread active exploitation at time of analysis. However, a public POC on GitHub (E:P in the CVSS 4.0 supplemental metric) materially increases realistic risk for any internet-facing deployment. The product is a niche PHP demo system with limited enterprise footprint, which constrains blast radius. The primary concern is any real healthcare operator who deployed this system in a clinical environment, where patient data sensitivity dramatically elevates the consequence of even a limited-impact SQLi. |
| Exploit ScenarioDerived | An attacker who has obtained or guessed a low-privileged user account on the Hospital Management System submits a crafted HTTP request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
SQL injection in itsourcecode Hospital Management System 1.0 exposes the /paymentdischarge.php endpoint to database manipulation via the unsanitized patientid parameter. Low-privileged authenticated attackers can exploit this remotely with no user interaction required, achieving limited read, write, and availability impact against the underlying database. No public KEV listing, but a proof-of-concept exploit is publicly disclosed on GitHub, meaningfully lowering the bar for opportunistic exploitation in any internet-exposed deployment.
RemediationAI
No vendor-released patch has been identified at time of analysis - the vendor site (https://itsourcecode.com/) should be monitored for any updated release. The primary fix is to replace raw SQL string concatenation in /paymentdischarge.php with PDO prepared statements or MySQLi parameterized queries for the patientid parameter, eliminating the injection surface entirely. As a compensating control, a web application firewall rule targeting SQL metacharacters (quotes, SQL keywords, UNION/SELECT patterns) on the patientid input field can reduce exploitation success at the cost of potential false positives on numeric patient IDs containing edge-case formatting. Access to /paymentdischarge.php should be restricted to the minimum required user roles via application-level authorization checks, reducing exposure if credentials are compromised. If this system is not actively serving patients in production, taking it offline until a patched version is available is the lowest-risk posture.
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 application distributed by itsourcecode (CPE: cpe:2.3:a:itsourcecode:hospital_management_system:*:*:*:*:*:*:*:*), commonly used as a demo or student project. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), where the patientid parameter passed to /paymentdischarge.php is interpolated directly into a backend SQL query without parameterization or escaping. This is a classic PHP SQL injection pattern - the application likely uses unsanitized $_GET or $_POST input concatenated into a raw SQL string rather than using PDO prepared statements or MySQLi parameterized queries. The discharge payment workflow makes this endpoint likely to interact with patient billing and identity records.
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-accessible web endpoint requires a low-privilege authenticated session (PR:L); standard SQLi with no scope change yields limited and symmetric C/I/A impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was determined in itsourcecode Hospital Management System 1.0. This impacts an unknown function of the file /paymentdischarge.php. This manipulation of the argument patientid causes sql injection. The attack may be initiated remotely. The exploit has been publicly disclosed and may be utilized.
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-41789
GHSA-rcpp-gchp-592g
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB