Impact
A vulnerability affects the appointmentdetail.php function of the Online Hospital Management System, allowing attackers to manipulate the editid argument and inject arbitrary SQL statements. This flaw is a classic SQL injection, classified under CWE-74 and CWE-89, and can lead to unauthorized read, modify or delete operations on the database, compromising both confidentiality and integrity.
Affected Systems
The affected product is code-projects' Online Hospital Management System, version 1.0. No additional versions have been reported as vulnerable at this time.
Risk and Exploitability
The CVSS score is 5.3, indicating a moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers can trigger the flaw remotely by supplying a crafted editid value in a request to appointmentdetail.php, which is then concatenated into an SQL query without proper sanitization. Because the flaw is file‑specific and not tied to authentication, any external user who can reach the URL could potentially exploit the injection if no additional access controls are in place.
OpenCVE Enrichment