Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend malicious SQL in username parameter
-
ExploitBypass input sanitization in Actions.php
-
ExecutionExecute arbitrary SQL commands
-
ImpactExtract sensitive data or modify database
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Remote unauthenticated attacker can inject SQL via the 'username' parameter in the save_customer action of Actions.php in SourceCodester Online Food Ordering System v1.0. No special configuration or user interaction required. |
| Impact | The risk profile is elevated due to multiple converging signals. Although CVSS score and vector data are unavailable, the vulnerability type (SQL injection) is inherently high-severity because it permits direct database manipulation and potential data exfiltration, authentication bypass, and data modification. The availability of publicly available exploit code substantially increases real-world risk, as exploitation barriers are lowered for both opportunistic and targeted attackers. Without CVSS vector details, authentication requirements cannot be confirmed from the provided data; however, SQL injection in user registration/customer creation endpoints typically requires no authentication. The lack of patch version information suggests either no vendor-released patch is currently available or the vendor status is unconfirmed. Given the public PoC availability and the application's common deployment in small-to-medium business environments with limited security postures, this vulnerability warrants immediate prioritization despite the absence of CVSS quantification. |
| Exploit ScenarioDerived | An attacker submits a crafted HTTP request to the save_customer action with a malicious SQL payload embedded in the username parameter, such as username=admin' OR '1'='1 or username='; DROP TABLE customers; --. Since the application concatenates this unsanitized input directly into a SQL query without prepared statements, the injected SQL commands execute against the backend database. The attacker can extract sensitive customer data, modify records, bypass authentication checks, or escalate privileges. Publicly available exploit code from the referenced GitHub repository provides ready-made payloads that lower the attack difficulty, making this accessible to attackers with basic web application knowledge. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 27, 2026
SQL injection in SourceCodester Online Food Ordering System v1.0 allows remote attackers to execute arbitrary SQL commands through unsanitized input in the save_customer action's username parameter. The application fails to implement proper input validation or prepared statements, enabling attackers to manipulate database queries directly. Publicly available exploit code exists, and this vulnerability affects the PHP-based web application with no confirmed patch status at time of analysis.
RemediationAI
The primary remediation is to upgrade SourceCodester Online Food Ordering System to a patched version if available from the vendor; however, no specific patched version number has been confirmed in the available data. Immediate mitigations include: implement parameterized queries or prepared statements for all database operations, particularly in the save_customer action handler; apply input validation to enforce expected username format (alphanumeric, length restrictions); use ORM frameworks that abstract SQL generation; and deploy a Web Application Firewall (WAF) with SQL injection detection rules to block malicious payloads. Restrict database user privileges to the minimum required for the application's normal operations to limit damage from successful injection. For the Online Food Ordering System, contact the SourceCodester vendor directly or check their repository for available updates, and conduct a comprehensive code review of all user input handling across the application to identify similar injection vectors.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the Actions.php file of a PHP-based web application framework, specifically within the save_customer action handler. The root cause is improper input sanitization of the username parameter, which falls under CWE classification for SQL injection flaws. SQL injection vulnerabilities occur when user-supplied input is concatenated directly into SQL queries without using parameterized statements or prepared statements. In PHP applications, this typically manifests when variables are embedded in query strings via string concatenation or simple escaping mechanisms that fail to account for SQL metacharacters and context-specific encoding requirements. The affected product is SourceCodester Online Food Ordering System v1.0, a PHP application commonly used for restaurant ordering platforms.
Know when Online Food Ordering System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
A SQL Injection vulnerability exists in SourceCodester Online Food Ordering System v1.0 in the Actions.php file (specifically the save_customer action). The application fails to properly sanitize user input supplied to the "username" parameter. This allows an attacker to inject malicious SQL commands.
Articles & Coverage 1
Executive ViewAI
Organizations using SourceCodester Online Food Ordering System face critical risk from CVE-2026-30530, a SQL injection vulnerability rated CVSS 9.8. Successful exploitation could allow attackers to execute arbitrary code or commands on affected systems, potentially leading to full system compromise. Proof-of-concept code is publicly available, increasing the risk of exploitation. Organizations should apply vendor updates immediately when available and implement compensating controls in the interim.
Apply vendor patch. If immediate patching is not feasible: (1) Deploy WAF rules to block injection patterns; (2) Restrict network access to affected components; (3) Enable enhanced logging for suspicious activity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Online Food Ordering System
View allAn arbitrary file upload vulnerability in the component /fos/admin/ajax.php of Food Ordering System v2.0 allows attacker
Remote Code Exection (RCE) vulnerability exists in Sourcecodester Online Food Ordering System 2.0 via a maliciously craf
Multiple SQL Injection vulnerabilities in tourist5 Online-food-ordering-system 1.0. Rated critical severity (CVSS 9.8),
An arbitrary file upload vulnerability in the component /admin/ajax.php?action=save_menu of Online Food Ordering System
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
EUVD-2026-16676
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB