CVE-2025-12931 SourceCodester Food Ordering System edit-orders.php sql injection
Remote attackers can exploit SQL injection in the edit-orders.php file to read or modify database contents in the Food Ordering System.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-12931?
CVE-2025-12931 is a medium-severity SQL injection vulnerability in SourceCodester Food Ordering System, published on 10 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was found in SourceCodester Food Ordering System 1.0. Affected by this vulnerability is an unknown functionality of the file /routers/edit-orders.php. The manipulation of the argument ID results in sql injection. It is possible to launch the attack remotely. The exploit has been made public and could be used.
Which versions are affected by CVE-2025-12931?
It affects 1 product.
Products include Janobe Food Ordering System.
How do I fix CVE-2025-12931?
No fix has been published for CVE-2025-12931 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-12931 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-12931 exists.
Other vulnerabilities in SourceCodester Food Ordering System
Sources
Also known as GHSA-4cf6-r5pq-4jhc.