Description
A security vulnerability has been detected in SourceCodester Simple Online Food Ordering System 1.0. The impacted element is an unknown function of the file /admin/ajax.php?action=delete_category. Such manipulation of the argument ID leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed publicly and may be used.
Published: 2026-08-20
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in the admin/ajax.php script of SourceCodester Simple Online Food Ordering System 1.0 allows an attacker to manipulate the ID parameter of the delete_category action and inject arbitrary SQL statements. The flaw is a classic input validation flaw that leads to remote SQL injection. Because the injection can be triggered over the public web interface, a remote attacker can read, modify, or delete data in the underlying database, potentially compromising the confidentiality and integrity of customer orders and related information.

Affected Systems

The affected product is SourceCodester Simple Online Food Ordering System version 1.0. The vulnerable functionality resides in the admin panel’s ajax.php script, specifically the delete_category action. No other vendors or versions are listed, so the issue appears to be limited to this product’s default installation. Administrators deploying this system should verify that the identified file and action exist in their installation.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity. Exploitation is possible remotely via crafted HTTP requests to the delete_category endpoint, and the exploit has been publicly disclosed, implying that attackers could leverage community‑shared payloads. The EPSS score is not available, but the lack of KEV listing does not diminish the risk; many public SQL‑injection vulnerabilities are actively exploited before official patching. Consequently, the likelihood of exploitation is non‑negligible, making remediation a priority for all users of this version.

Generated by OpenCVE AI on August 20, 2026 at 20:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the SourceCodester Simple Online Food Ordering System to the latest version that addresses the SQL injection flaw.
  • Modify the delete_category handler to validate the ID parameter strictly, confirming it is numeric and within an acceptable range before use.
  • Refactor the database access logic to use prepared statements or parameterized queries, ensuring that user input cannot alter SQL command structure.

Generated by OpenCVE AI on August 20, 2026 at 20:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 20 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description A security vulnerability has been detected in SourceCodester Simple Online Food Ordering System 1.0. The impacted element is an unknown function of the file /admin/ajax.php?action=delete_category. Such manipulation of the argument ID leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed publicly and may be used.
Title SourceCodester Simple Online Food Ordering System ajax.php delete_category sql injection
First Time appeared Sourcecodester
Sourcecodester simple Online Food Ordering System
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:sourcecodester:simple_online_food_ordering_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester simple Online Food Ordering 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'}


Subscriptions

Sourcecodester Simple Online Food Ordering System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-20T15:30:10.345Z

Reserved: 2026-08-20T07:17:01.285Z

Link: CVE-2026-76998

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-20T16:18:31.243

Modified: 2026-08-20T16:18:31.243

Link: CVE-2026-76998

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T20:45:04Z

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')