SQL Injection Vulnerability in Online Food Ordering System
Online Food Ordering System 1.0 contains a SQL injection vulnerability in /web/category-foods.php that allows remote, unauthenticated attackers to execute arbitrary database queries via the ID argument.
CVE search metadata
CVE search record: CVE-2026-90854. Severity: high. CVSS: 7.3. KEV: no. Product: Online Food Ordering System (1.0). Brief: SQL Injection Vulnerability in Online Food Ordering System. Brief link: https://feed.craftedsignal.io/briefs/2026-09-cve-2026-90854/
A critical SQL injection vulnerability has been identified in the SourceCodester Online Food Ordering System version 1.0. The vulnerability exists within the /web/category-foods.php file, where the ID argument is insufficiently sanitized before being used in database queries. An attacker can leverage this flaw to perform remote SQL injection, potentially leading to unauthorized data exfiltration, modification, or deletion within the underlying database. The vulnerability has been confirmed with a CVSS v3.1 base score of 7.3, and public exploit code is available, increasing the risk of exploitation by opportunistic threat actors.
Impact
Successful exploitation of this vulnerability allows unauthenticated remote attackers to compromise the integrity and confidentiality of the application database. In an Online Food Ordering System, this could lead to the exposure of customer personal information, order history, and potentially administrative credentials, posing a significant risk to the privacy of users and the operational security of the host organization.
Recommendation
Detection engineering teams should monitor web server logs for suspicious patterns in URI queries associated with the affected file to identify and block exploitation attempts.
- Implement monitoring for the /web/category-foods.php endpoint to detect common SQL injection syntax in the ID parameter.
- Patch or isolate instances of Online Food Ordering System 1.0, as no official vendor patch is currently available; consider moving the application behind a Web Application Firewall (WAF) with SQL injection protection rules enabled.
Immediate actions
Deploy WAF rules to filter malicious characters from the ID argument on /web/category-foods.php
Mitigations
Restrict external network access to the /web/category-foods.php endpoint if possible
CVE-2026-90854
Detection coverage 1
Detects CVE-2026-90854 Exploitation - SQL Injection in category-foods.php
highDetects exploitation attempts against the Online Food Ordering System by monitoring for SQL injection patterns in the ID parameter of the /web/category-foods.php endpoint.
Detection queries are available on the platform. Get full rules →