CVE-2025-12931: SourceCodester Food Ordering System · SQL Injection
Affects SourceCodester Food Ordering SystemSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 10 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SourceCodester Food Ordering System | Affected
| Fixed in– |
AI-suggested
Organizations should immediately audit their deployments of SourceCodester Food Ordering System version 1.0 to identify affected instances. Since no official patches are currently available, implement the following mitigations: 1) Apply strict input validation and sanitization on the 'ID' parameter in /routers/edit-orders.php to prevent SQL injection. 2) Refactor database queries to use parameterized statements or prepared queries to eliminate direct concatenation of user inputs. 3) Restrict network access to the vulnerable endpoint by implementing firewall rules or access control lists limiting traffic to trusted IPs. 4) Monitor logs for suspicious SQL errors or unusual database activity indicative of exploitation attempts. 5) Consider deploying Web Application Firewalls (WAFs) with SQL injection detection and prevention capabilities tailored to block attacks targeting this parameter. 6) Plan for upgrading to a newer, patched version of the software once available or consider alternative solutions. 7) Conduct security awareness training for developers and administrators on secure coding practices and vulnerability management. 8) Regularly back up databases to enable recovery in case of data tampering or loss.
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.