Skip to main content

Food Ordering System CVE-2026-4839

| EUVDEUVD-2026-16085 MEDIUM
SQL Injection (CWE-89)
2026-03-26 VulDB GHSA-2w66-j4vc-q66r
5.5
CVSS 4.0 · NVD
View

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.

Impact

The real-world risk is HIGH and warrants immediate attention. The CVSS v3.1 score of 7.3 reflects network-based attack vector (AV:N), low complexity (AC:L), no privileges required (PR:N), and no user interaction (UI:N), making it trivially exploitable. The exploit maturity is rated as Proof-of-Concept (E:P), confirmed by the publicly available GitHub exploit at https://github.com/WHOAMI-xiaoyu/CVE/blob/main/CVE_9.md. While EPSS data is not explicitly provided, public POC availability significantly elevates exploitation probability. The vulnerability is automatable and requires minimal technical skill, allowing attackers to scan for and exploit vulnerable instances at scale. The impact spans all three security pillars (C:L/I:L/A:L), enabling data exfiltration, modification, or denial of service. Organizations running this software should treat this as a critical priority, especially for internet-facing deployments.

Exploit ScenarioDerived

An unauthenticated remote attacker identifies a public-facing Food Ordering System installation and accesses the /purchase.php endpoint. Using the publicly available exploit code from https://github.com/WHOAMI-xiaoyu/CVE/blob/main/CVE_9.md, the attacker crafts a malicious HTTP request containing SQL injection payloads in the 'custom' parameter, such as union-based or time-based blind injection techniques. The vulnerable Parameter Handler processes this input without sanitization, executing the attacker's SQL commands against the backend database to extract customer data, payment information, order histories, or administrative credentials, or to modify prices and inject malicious records.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 26, 2026

SQL injection in SourceCodester Food Ordering System 1.0 via the custom parameter in /purchase.php allows unauthenticated remote attackers to execute arbitrary SQL queries. Public exploit code exists for this vulnerability, and no patch is currently available. The vulnerability affects PHP-based installations of this food ordering platform.

Earlier versions of this analysis (1)
v1 Mar 26, 2026 - 03:45 CVSS 6.9

A SQL injection vulnerability exists in SourceCodester Food Ordering System version 1.0, specifically in the 'custom' parameter of the /purchase.php file within the Parameter Handler component. An unauthenticated remote attacker can exploit this flaw to execute arbitrary SQL commands, potentially compromising confidentiality, integrity, and availability of the database. A public proof-of-concept exploit is available on GitHub, significantly increasing exploitation risk.

RemediationAI

No official patch or updated version has been released by SourceCodester as indicated by the CVSS remediation level of 'Unavailable' (RL:X). Organizations must implement immediate compensatory controls: deploy a web application firewall (WAF) with SQL injection signatures to filter malicious requests targeting /purchase.php, apply input validation and sanitization at the application layer by modifying the Parameter Handler to use parameterized SQL queries or prepared statements for the 'custom' parameter, restrict database user privileges to minimum required permissions, and implement network segmentation to limit access to the application from untrusted networks. Consider replacing this application with a more actively maintained alternative if vendor support remains unavailable. Monitor VulDB submission https://vuldb.com/?submit.776082 and the vendor site https://www.sourcecodester.com/ for future security updates.

Affected VersionsENISA

Food Ordering System 1.0

Affected Packages

euvd food_ordering_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects SourceCodester Food Ordering System 1.0 (CPE: cpe:2.3:a:sourcecodester:food_ordering_system:*:*:*:*:*:*:*:*), a PHP-based web application for managing food orders. The flaw is classified as CWE-89 (SQL Injection), which occurs when user-supplied input is incorrectly sanitized before being incorporated into SQL queries. The vulnerable code in /purchase.php's Parameter Handler component fails to properly validate or escape the 'custom' parameter, allowing attackers to inject malicious SQL statements that are executed directly against the backend database. This is a classic server-side injection vulnerability common in PHP applications that construct dynamic SQL queries without using parameterized statements or prepared queries.

Know when 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

NVD PRIMARY 5.5 MEDIUM
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

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
Apr 29, 2026 - 01:11 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Mar 30, 2026 - 13:26 vuln.today
Public exploit code
CVE Published
Mar 26, 2026 - 03:14 nvd
MEDIUM 6.9

DescriptionCVE.org

A vulnerability has been found in SourceCodester Food Ordering System 1.0. This affects an unknown function of the file /purchase.php of the component Parameter Handler. The manipulation of the argument custom leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A critical SQL injection vulnerability in the Food Ordering System (CVE-2026-4839) allows unauthenticated attackers to access, modify, or delete customer and business data without authentication. With a public exploit already available, this poses immediate risk to customer confidentiality, payment information integrity, and service availability.

Business Impact: Severe
Compensating Controls

Deploy Web Application Firewall (WAF) with SQL injection detection rules targeting the 'custom' parameter; disable the /purchase.php endpoint until patched; implement network segmentation to restrict access to the application; enforce strict input validation and parameterized SQL queries at application level; enable enhanced database activity monitoring and alerting; require multi-factor authentication and IP whitelisting for administrative database access.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Related Vulnerabilities in SourceCodester Systems SQL Injection

View all 2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy