Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to application
-
DeliverySubmit crafted SQL in username parameter
-
ExploitBypass input sanitization in Actions.php
-
ExecutionExecute arbitrary SQL commands
-
ImpactExtract or modify database contents
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 | Authenticated attacker with user account access to SourceCodester Online Food Ordering System v1.0. Exploit targets the save_user action in Actions.php via unsanitized 'username' parameter. No victim interaction required; attacker directly submits malicious SQL in POST/GET request. |
| Impact | Risk assessment is constrained by missing CVSS and EPSS data. However, contextual signals indicate moderate risk: (1) Exploit Code: Publicly available POC exists (GitHub reference provided), indicating low barrier to exploitation; (2) Authentication Requirement: The vulnerability is authenticated-only (requires valid user login), which reduces attack surface compared to unauthenticated SQLi; (3) Impact: SQL injection on an authenticated account can lead to data exfiltration, modification, or privilege escalation depending on database permissions and application design; (4) KEV/Active Exploitation: No CISA KEV status provided, suggesting no confirmed active exploitation campaigns at time of disclosure; (5) SSVC Decision Framework: Given authenticated access requirement, public POC availability, and unknown technical impact scope, this presents manageable but not critical risk for organizations that restrict application access and apply timely patching. Organizations with exposed instances or permissive access controls face higher risk. |
| Exploit ScenarioDerived | An authenticated attacker with valid user credentials logs into the Online Food Ordering System and navigates to a user profile or settings page where the username can be modified. Instead of entering a normal username, the attacker injects SQL code such as username=admin' OR '1'='1 or username=admin'; DROP TABLE users;-- into the username parameter. Because the application does not sanitize this input before passing it to a SQL query, the injected SQL is executed with the database connection privileges of the application. Publicly available exploit code from GitHub demonstrates this attack flow. Depending on database permissions, the attacker could read sensitive user data, modify records, or potentially escalate privileges. |
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 authenticated attackers to execute arbitrary SQL commands via the username parameter in Actions.php (save_user action), due to improper input sanitization. Publicly available exploit code exists demonstrating this vulnerability. While CVSS and EPSS scores are unavailable, the authenticated requirement and public POC availability indicate moderate real-world risk for deployments with user account access.
RemediationAI
Patch availability for this vulnerability has not been confirmed from the provided data. Immediate remediation steps include: (1) Upgrade SourceCodester Online Food Ordering System to a patched version if available from the vendor; (2) If patching is not immediately possible, implement input validation on the username parameter using a whitelist of allowed characters (alphanumeric and safe symbols only), rejecting any input containing SQL metacharacters; (3) Enforce use of prepared statements with parameterized queries in Actions.php for all database operations; (4) Restrict network access to the application to trusted user ranges and implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns; (5) Apply principle of least privilege to database user accounts used by the application, limiting permissions to only required tables and operations. Consult the GitHub PoC reference and SourceCodester project repository for patch or update availability.
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 exists in server-side PHP code processing user input without parameterized queries or sufficient sanitization. The affected component is the save_user action handler in Actions.php, which accepts a username parameter that is concatenated directly into SQL statements. This violates CWE-89 (SQL Injection) best practices, which mandate use of prepared statements with bound parameters. The root cause is improper handling of untrusted user-supplied data in database queries. SourceCodester Online Food Ordering System v1.0 is a PHP-based web application (likely identifiable via CPE as cpe:2.3:a:sourcecodester:online_food_ordering_system), and the vulnerability affects the database interaction layer that authenticates and updates user records.
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:L/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_user action). The application fails to properly sanitize user input supplied to the "username" parameter. This allows an authenticated attacker to inject malicious SQL commands.
Executive ViewAI
Organizations using SourceCodester Online Food Ordering System face significant risk from CVE-2026-30529, a SQL injection vulnerability rated CVSS 8.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 when available and consider 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
SQL injection in SourceCodester Online Food Ordering System v1.0 allows remote attackers to execute arbitrary SQL comman
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-16674
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB