Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege application credentials
-
DeliverySend crafted HTTP request to appointmentdetail.php with malicious editid payload
-
ExploitInject UNION-based or boolean SQL into backend query
-
ExecutionExtract database contents (patient records, credentials)
-
ImpactOptionally modify or delete appointment data
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 Online Hospital Management System (CVSS PR:L confirms authentication is required - unauthenticated exploitation is not supported by the available vector). The vulnerable code path is specifically the |
| Impact | The CVSS 3.1 base score of 6.3 (Medium) reflects network-reachable exploitation (AV:N), low complexity (AC:L), low-privilege authentication requirement (PR:L), no user interaction (UI:N), and partial confidentiality, integrity, and availability impact (C:L/I:L/A:L). The temporal modifier E:P confirms publicly available exploit code, elevating the real-world risk above the base score alone. The RC:R (Report Confidence: Reasonable) modifier indicates the vulnerability has not yet been independently confirmed by a vendor advisory, introducing some uncertainty. EPSS data was not provided in the source intelligence. The software is not listed in the CISA KEV catalog at time of analysis, so mass active exploitation is not confirmed. However, the combination of a public POC, low attack complexity, a healthcare data context (sensitive patient records), and the likely amateur-developed codebase of a free academic PHP project makes this a credible and prioritizable risk for any organization running this software. The PR:L requirement is the primary limiting factor against unauthenticated mass exploitation. |
| Exploit ScenarioDerived | A hospital staff member or attacker with a compromised low-privilege account navigates to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
SQL injection in code-projects Online Hospital Management System 1.0 exposes backend database contents via the editid parameter in appointmentdetail.php. A low-privilege authenticated attacker can remotely manipulate SQL queries to read, modify, or corrupt patient and appointment records. A proof-of-concept exploit is publicly available per the GitHub reference, raising the likelihood of opportunistic exploitation against internet-facing deployments of this PHP application.
RemediationAI
No vendor-released patch has been identified at time of analysis. The application originates from code-projects.org, which does not appear to maintain a formal security advisory process. The primary recommended fix is to rewrite the editid parameter handling in appointmentdetail.php to use prepared statements with parameterized queries (PDO or MySQLi), which eliminates the injection surface entirely. As a compensating control, deploying a Web Application Firewall (WAF) with SQL injection rules (e.g., ModSecurity with OWASP CRS) can block common SQLi payloads at the perimeter, though this introduces maintenance overhead and does not fix the root cause. Additionally, restricting database user privileges so the application account cannot access or modify tables outside its functional scope will limit the blast radius of any successful injection. Organizations should evaluate whether this software is internet-facing and, if so, consider restricting access to authenticated internal networks only until a code-level fix is applied. References: VulDB entry at https://vuldb.com/vuln/367488 and POC at https://github.com/Wanghuidi/CVE/issues/1.
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 vulnerability is a CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) SQL injection rooted in unsanitized user input passed directly into a database query. The affected component is appointmentdetail.php, part of the Appointment Handler module in this PHP-based hospital management application. The editid GET/POST parameter is incorporated into a SQL statement without parameterization or escaping, allowing an attacker to alter query logic. The CPE string cpe:2.3:a:code-projects:online_hospital_management_system:*:*:*:*:*:*:*:* uses a wildcard version field, indicating NVD has not bounded the affected version range beyond what the description states (version 1.0). The application is distributed by code-projects.org as a ready-made PHP project, suggesting it is unlikely to receive timely security patches.
Know when Online 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
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability has been found in code-projects Online Hospital Management System 1.0. Affected is 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 has been disclosed to the public and may 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 Online Hospital Management System SQL Injection
View all 2Code-Projects Online Hospital Management System V1.0 is vulnerable to SQL Injection (SQLI) attacks, which allow an attac
A vulnerability was found in SourceCodester Online Hospital Management System 1.0. Rated critical severity (CVSS 9.8), t
Critical SQL injection vulnerability in Campcodes Hospital Management System version 1.0, specifically in the /user-logi
Critical SQL injection vulnerability in Campcodes Hospital Management System version 1.0, affecting the /registration.ph
Critical SQL injection vulnerability in Campcodes Hospital Management System version 1.0 affecting the /admin/registrati
Campcodes Online Hospital Management System 1.0 is vulnerable to SQL Injection in /admin/index.php via the parameter use
A vulnerability classified as critical has been found in SourceCodester Online Hospital Management System 1.0. Rated med
A critical SQL injection vulnerability exists in Campcodes Online Hospital Management System version 1.0 affecting the /
A SQL injection vulnerability (CVSS 7.3). Risk factors: public PoC available.
CVE-2025-6406 is a critical SQL injection vulnerability in Campcodes Online Hospital Management System version 1.0, spec
SQL injection in code-projects Online Hospital Management System 1.0 allows remote unauthenticated attackers to manipula
EUVD-2026-33530
GHSA-jww7-v7mx-3w46
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB