Skip to main content
CVE-2026-4839VulnerabilityPublished

CVE-2026-4839: SourceCodester Food Ordering System · SQL Injection

Affects SourceCodester Food Ordering SystemSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium.

Data as of 26 Oct 2026, 08:30 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
SourceCodesterFood Ordering SystemAffected
  • =1.0
Fixed in–

AI-suggested

Organizations should immediately review their use of SourceCodester Food Ordering System version 1.0 and restrict or monitor access to the /purchase.php endpoint. Implementing input validation and parameterized queries or prepared statements for the 'custom' parameter is critical to prevent SQL injection. If source code access is available, developers should sanitize and validate all user inputs rigorously. Network-level protections such as web application firewalls (WAFs) can be configured to detect and block SQL injection attempts targeting this parameter. Until an official patch is released, consider isolating the affected system from the internet or limiting access to trusted IP addresses. Regularly audit database logs for suspicious queries and monitor for unusual activity. Finally, plan for an upgrade or migration to a more secure and actively maintained food ordering platform.

Description

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.

References

Community reviews

Loading reviews…