Skip to main content

Hospital Management System CVE-2026-13578

| EUVDEUVD-2026-40120 LOW
SQL Injection (CWE-89)
2026-06-29 VulDB GHSA-m9j8-rwpf-q8xx
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain or register low-privilege account
  2. Delivery
    Authenticate to Hospital Management System web interface
  3. Exploit
    Craft HTTP request to /patientdetail.php with malicious editid value
  4. Execution
    SQL payload executes in backend database query
  5. Impact
    Extract 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 /patientdetail.php file must be accessible via the web server, which is expected in any standard deployment. No non-default configuration, special feature flag, or specific platform is required beyond a running PHP/MySQL instance with the application installed. Exploitation is limited by: (1) the authentication prerequisite - anonymous external attackers cannot directly reach the endpoint; (2) the assumed low-privilege database account as reflected in the VC:L/VI:L/VA:L impact ratings, though this limit is configuration-dependent and not enforced by the application itself. The public POC removes technical complexity as a meaningful barrier for any authenticated user.

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 /patientdetail.php?editid=1' UNION SELECT ... or similar payload. The unsanitized editid value is injected directly into the backend SQL query, allowing the attacker to enumerate table names, extract patient records including personal health information, or modify existing records. A public proof-of-concept is available at https://github.com/ltranquility/submit/issues/20, meaning exploitation requires minimal SQL knowledge.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Hospital Management System 1.0

Affected Packages

euvd hospital_management_system no fix

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 6.3 MEDIUM

Network-reachable endpoint requires low-privilege authentication; no scope change; low CIA impact consistent with limited database account privileges assumed by the application.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jun 29, 2026 - 15:22 NVD
MEDIUM LOW
CVSS changed
Jun 29, 2026 - 15:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.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

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Rare
niche open-source student or demo PHP hospital app
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2023-43958 CRITICAL POC
9.8 Apr 22

An arbitrary file upload vulnerability in the component /jquery-file-upload/server/php/index.php of Hospital Management

CVE-2020-26629 CRITICAL POC
9.8 Jan 10

A JQuery Unrestricted Arbitrary File Upload vulnerability was discovered in Hospital Management System V4.0 which allows

CVE-2024-40502 CRITICAL POC
9.8 Jul 22

SQL injection vulnerability in Hospital Management System Project in ASP.Net MVC 1 allows aremote attacker to execute ar

CVE-2023-4176 CRITICAL POC
9.8 Aug 06

A vulnerability was found in SourceCodester Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vul

CVE-2023-3811 CRITICAL POC
9.8 Jul 21

A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r

CVE-2023-3810 CRITICAL POC
9.8 Jul 21

A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r

CVE-2023-3809 CRITICAL POC
9.8 Jul 21

A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r

CVE-2023-31498 CRITICAL POC
9.8 May 11

A privilege escalation issue was found in PHP Gurukul Hospital Management System In v.4.0 allows a remote attacker to ex

CVE-2022-38637 CRITICAL POC
9.8 Sep 13

Hospital Management System v1.0 was discovered to contain multiple SQL injection vulnerabilities via the Username and Pa

CVE-2022-32095 CRITICAL POC
9.8 Jul 01

Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the editid parameter at orde

CVE-2022-32094 CRITICAL POC
9.8 Jul 01

Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the loginid parameter at doc

CVE-2022-32093 CRITICAL POC
9.8 Jul 01

Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the loginid parameter at adm

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy