CVE-2026-19231
Received Received - Intake

SQL Injection in Simple Doctors Appointment System

Vulnerability report for CVE-2026-19231, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-07

Last updated on: 2026-08-07

Assigner: VulDB

Description

A security flaw has been discovered in SourceCodester Simple Doctors Appointment System 1.0. This vulnerability affects unknown code of the file /admin/ajax.php?action=delete_appointment. The manipulation of the argument ID results in sql injection. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-07
Last Modified
2026-08-07
Generated
2026-08-07
AI Q&A
2026-08-07
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester simple_doctors_appointment_system 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a SQL injection vulnerability in SourceCodester Simple Doctors Appointment System 1.0. The flaw exists in the /admin/ajax.php file when handling the 'ID' parameter for deleting appointments. Attackers can inject malicious SQL code through this parameter without authentication. The exploit allows unauthorized database access, data manipulation, or deletion.

Detection Guidance

To detect this SQL injection vulnerability, check if the /admin/ajax.php?action=delete_appointment endpoint exists and if the 'id' parameter is vulnerable. Use tools like SQLmap to test for SQL injection by sending payloads such as 'id=1' AND 1=1-- or 'id=1' AND 1=2--. Monitor database logs for unusual queries or errors.

Impact Analysis

This vulnerability can lead to unauthorized access to sensitive data like patient records, modification or deletion of appointments, and potential full system compromise. Attackers could steal confidential information, disrupt services, or gain administrative control of the application.

Compliance Impact

This vulnerability likely violates GDPR and HIPAA requirements for protecting personal and health data. It could result in unauthorized data exposure, breaches of confidentiality, and failure to implement adequate security controls, potentially leading to legal penalties and regulatory fines.

Mitigation Strategies

Immediately apply input validation and strict filtering on the 'id' parameter. Replace direct SQL queries with prepared statements using parameter binding. Restrict database user permissions to the minimum required. Conduct a security audit to identify other potential vulnerabilities.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-19231. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart