CVE-2025-13122CWE-74CWE-89sql-injection

CVE-2025-13122

High · published November 13, 2025

CVSS v3.1
7.3
EPSS
0%
Percentile
40.0
In the wild
Unconfirmed
What it is

⚠️ Those patient appointments might not be so secure! A crafty SQL injection vulnerability lurking in SourceCodester's Patients Waiting Area Queue Management System could allow attackers to tamper with appointment IDs remotely! 🚨 Think of it like a reservation system at a busy restaurant. If someone can sneak in and change their table reservation details, they could essentially take over someone else's spot without any checks! With this vulnerability, an attacker could manipulate appointment IDs and potentially access sensitive patient data or disrupt the entire queue system. This could lead to a chaotic waiting area and breach confidentiality. You definitely don’t want that!

Put simply

Think of it like a reservation system at a busy restaurant. If someone can sneak in and change their table reservation details, they could essentially take over someone else's spot without any checks! The vulnerability lies in the `getPatientAppointment` function of `api_patient_checkin.php`, enabling SQL injection through manipulated `appointmentID` arguments, allowing an attacker to execute malicious SQL commands remotely.

What to do

With this vulnerability, an attacker could manipulate appointment IDs and potentially access sensitive patient data or disrupt the entire queue system. This could lead to a chaotic waiting area and breach confidentiality. You definitely don’t want that! To fix this, sanitize and validate all user inputs for the `appointmentID`. Also, consider employing prepared statements to guard against SQL injection. Patch your system to the latest version as soon as possible! You’ve got this! Follow these steps, and you’ll keep your appointment system secure in no time! 🛡️

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00474 · 40.0th percentile
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')
Published
2025-11-13T23:15Z
Affected products (1)
ProductVersionsFixed in
pamzey/patients_waiting_area_queue_management_systemall versions—
References (4)
EPSS history
Timeline
  • 13 NOV 18:02Z
    SourceCodester Patients Waiting Area Queue Management System api_patient_checkin.php getPatientAppointment sql injection
    cvelistv5