Impact
The vulnerability is an unsanitized user-controlled parameter in the booking.php endpoint that allows an attacker to inject arbitrary SQL via the doc_id argument. This can lead to unauthorized disclosure, modification, or deletion of patient data. The weakness is catalogued as CWE-74 (Improper Input Sanitization) and CWE-89 (SQL Injection).
Affected Systems
The affected product is code-projects Doctor Appointment System version 1.0, particularly the booking.php file under /patient/. No other products or versions are identified.
Risk and Exploitability
The CVSS score of 6.9 classifies the issue as medium severity, and no EPSS data is available. It is not listed in the CISA KEV catalog. Remote attackers can exploit the vulnerability if they can construct a request to booking.php with a crafted doc_id value; once injected, they can extract sensitive data or modify database entries. The absence of an official fix means the risk remains until a patch or mitigative configuration change is applied.
OpenCVE Enrichment