# CVE-2026-78247: SourceCodester Simple Online Food Ordering System SQL injection in ajax.php

Source: https://junglewise.ai/threats/cve-2026-78247-sourcecodester-simple-online-food-ordering-system-sql-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-24. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-78247 · Severity: high · CVSS 7.3 · Published 2026-08-24

SourceCodester Simple Online Food Ordering System is a PHP/MySQL web application for managing online food orders. A SQL injection vulnerability in the order confirmation function allows unauthenticated attackers to execute arbitrary database queries, potentially exposing sensitive customer and order data, modifying records, or disrupting service availability.

Technologies: [SourceCodester Simple Online Food Ordering System](https://junglewise.ai/threats/technologies/simple-online-food-ordering-system). Vendors: [SourceCodester](https://junglewise.ai/threats/vendors/sourcecodester).

## Quick answers

**Is CVE-2026-78247 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-78247 being exploited in the wild.

**How severe is CVE-2026-78247?** High severity, with a CVSS score of 7.3, published 24 August 2026.

**Which products and versions are affected?** SourceCodester Simple Online Food Ordering System 1.0.

**Is there a fix for CVE-2026-78247?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-78247 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-78247?** Check whether you run SourceCodester Simple Online Food Ordering System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A SQL injection vulnerability exists in /fos/admin/ajax.php?action=confirm_order where the 'id' parameter is passed directly into SQL queries without proper input validation or parameterized statements. The vulnerability is exploitable via HTTP POST requests and requires no prior authentication or user interaction. Attackers can craft malicious payloads using time-based blind or boolean-based blind SQL injection techniques to extract database contents, modify data, or escalate privileges. The root cause is insufficient input sanitization; remediation requires implementing prepared statements with parameter binding and strict input validation.

## Affected products

- SourceCodester Simple Online Food Ordering System 1.0

## Timeline

- 2026-07-11: disclosed
- 2026-08-24: advisory

## References

- [https://github.com/huliangjia/cve/issues/1](https://github.com/huliangjia/cve/issues/1)
- [https://vuldb.com/cve/CVE-2026-78247](https://vuldb.com/cve/CVE-2026-78247)

## Related threats

- [SourceCodester Simple Online Food Ordering System SQL injection in admin login](https://junglewise.ai/threats/cve-2026-81203-sourcecodester-simple-online-food-ordering-system-sql-injection)
- [SourceCodester Simple Online Food Ordering System SQL injection in admin panel](https://junglewise.ai/threats/cve-2026-78248-sourcecodester-simple-online-food-ordering-system-sql-injection)
- [SourceCodester Simple Online Food Ordering System SQL injection in view_prod.php](https://junglewise.ai/threats/cve-2026-78199-sourcecodester-simple-online-food-ordering-system-sql-injection)
- [SourceCodester Simple Online Food Ordering System SQL injection in ajax.php](https://junglewise.ai/threats/cve-2026-78198-sourcecodester-simple-online-food-ordering-system-sql-injection)
- [SourceCodester Simple Online Food Ordering System SQL injection in admin AJAX](https://junglewise.ai/threats/cve-2026-78197-sourcecodester-simple-online-food-ordering-system-sql-injection)
