CVE-2026-85402

code-projects Doctor Appointment System booking.php sql injection

Published Sep 4, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was detected in code-projects Doctor Appointment System 1.0. This vulnerability affects unknown code of the file /patient/booking.php. The manipulation of the argument doc_id results in sql injection. The attack may be launched remotely. The exploit is now public and may be used.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to the latest version of the Doctor Appointment System if one is released that includes proper input validation for the doc_id parameter.
  • If upgrading is not possible, refactor booking.php to use parameterized queries (prepared statements) or escape user input before embedding it into SQL statements.
  • Restrict external access to booking.php to trusted IP ranges or implement application-level authentication so that only authorized users can submit doc_id values.

Generated by OpenCVE AI on September 4, 2026 at 04:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was detected in code-projects Doctor Appointment System 1.0. This vulnerability affects unknown code of the file /patient/booking.php. The manipulation of the argument doc_id results in sql injection. The attack may be launched remotely. The exploit is now public and may be used.
Title code-projects Doctor Appointment System booking.php sql injection
First Time appeared Code-projects
Code-projects doctor Appointment System
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:code-projects:doctor_appointment_system:*:*:*:*:*:*:*:*
Vendors & Products Code-projects
Code-projects doctor Appointment System
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Sep 11, 2026, 8:37 PM
Reserved
Sep 3, 2026, 6:25 PM
Status
Deferred
Published
Sep 4, 2026, 3:17 AM
Modified
Sep 11, 2026, 9:17 PM