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

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

SourceCodester's Simple Online Food Ordering System is a web-based restaurant ordering platform. A SQL injection vulnerability in the cart management function allows unauthenticated attackers to manipulate database queries, potentially exposing sensitive customer and business data, modifying orders, or taking down the system.

Technologies: SourceCodester Simple Online Food Ordering System. Vendors: SourceCodester.

Quick answers

Is CVE-2026-78198 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-78198 being exploited in the wild.
How severe is CVE-2026-78198?
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-78198?
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-78198 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-78198?
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 the /fos/admin/ajax.php endpoint (action=add_to_cart) where the 'pid' parameter is directly concatenated into SQL queries without proper input validation or parameterized statements. The vulnerability requires no authentication and can be exploited via a POST request to inject malicious SQL. An attacker can use time-based blind SQL injection techniques to extract database contents, modify data, or execute arbitrary database operations. The root cause is insufficient input sanitization on the pid parameter. No patches are currently documented.

Affected products

  • SourceCodester Simple Online Food Ordering System 1.0

Timeline

  • 2026-07-11: disclosed: SQL injection vulnerability disclosed on GitHub
  • 2026-08-24: advisory: CVE-2026-78198 published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.