# CVE-2026-5811: SourceCodester Online Food Ordering System business logic error in Actions.php

Source: https://junglewise.ai/threats/cve-2026-5811-sourcecodester-online-food-ordering-system-business-logic-error-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-08. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-5811 · Severity: medium · CVSS 5.4 · Published 2026-04-08

A business logic vulnerability exists in the SourceCodester Online Food Ordering System, a web application used for managing food orders. An attacker with administrative access can manipulate product prices to be negative values. This can lead to financial discrepancies, such as orders that subtract money from a total bill instead of adding to it, potentially causing significant billing errors and operational disruption.

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

## Quick answers

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

**How severe is CVE-2026-5811?** Medium severity, with a CVSS score of 5.4, published 8 April 2026.

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

**Is there a fix for CVE-2026-5811?** 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-5811 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-5811?** Check whether you run SourceCodester 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 business logic vulnerability (CWE-840) exists in SourceCodester Online Food Ordering System 1.0. The root cause is a lack of server-side input validation in the 'save_product' function within '/Actions.php'. A remote attacker with low-level privileges (authenticated as an administrator) can submit a crafted POST request to the 'price' parameter containing a negative numerical value. Because the application fails to verify that prices are positive, the database accepts the invalid data. This results in corrupted financial logic where purchasing such items could deduct from a customer's total bill. A public proof-of-concept (PoC) is available.

## Affected products

- SourceCodester Online Food Ordering System 1.0

## Timeline

- 2026-04-08: disclosed
- 2026-04-08: advisory

## References

- [https://github.com/meifukun/Web-Security-PoCs/blob/main/Online-Food-Ordering-System/BusinessLogic-Product-NegativePrice.md](https://github.com/meifukun/Web-Security-PoCs/blob/main/Online-Food-Ordering-System/BusinessLogic-Product-NegativePrice.md)
- [https://vuldb.com/submit/787678](https://vuldb.com/submit/787678)
- [https://vuldb.com/vuln/356259](https://vuldb.com/vuln/356259)
- [https://vuldb.com/vuln/356259/cti](https://vuldb.com/vuln/356259/cti)
- [https://www.sourcecodester.com/](https://www.sourcecodester.com/)

## Related threats

- [SourceCodester Online Food Ordering System client-side price enforcement](https://junglewise.ai/threats/cve-2026-116605-a-vulnerability-was-found-in-sourcecodester-online-food-ordering)
- [SourceCodester Online Food Ordering System missing authentication in admin delete endpoints](https://junglewise.ai/threats/cve-2026-116604-a-vulnerability-has-been-found-in-sourcecodester-online-food)
- [SourceCodester Online Food Ordering System unrestricted file upload in add_food.php](https://junglewise.ai/threats/cve-2026-116603-a-flaw-has-been-found-in-sourcecodester-online-food-ordering)
- [SourceCodester Online Food Ordering System path traversal in delete.php](https://junglewise.ai/threats/cve-2026-116602-a-vulnerability-was-detected-in-sourcecodester-online-food)
- [SourceCodester Online Food Ordering System stored XSS in category image upload](https://junglewise.ai/threats/cve-2026-92385-sourcecodester-online-food-ordering-system-stored-xss-in-category)
