CVE-2026-26710
SQL Injection in Simple Food Order System edit-orders.php
Publication date: 2026-03-02
Last updated on: 2026-03-03
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| carmelo | simple_food_order_system | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The vulnerability in code-projects Simple Food Order System v1.0 is an SQL Injection found in the /food/routers/edit-orders.php file.
How can this vulnerability impact me? :
An SQL Injection vulnerability can allow an attacker to manipulate the database queries executed by the application. This could lead to unauthorized access to or modification of the database, data leakage, or even complete compromise of the system's data integrity.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
[{'type': 'paragraph', 'content': 'The vulnerability is an SQL Injection in the /food/routers/edit-orders.php file of the code-projects Simple Food Order System v1.0. Detection typically involves testing this endpoint for SQL injection flaws.'}, {'type': 'paragraph', 'content': 'Common commands to detect SQL Injection include using tools like sqlmap or manual testing with payloads in HTTP requests targeting the edit-orders.php endpoint.'}, {'type': 'list_item', 'content': 'Using sqlmap: sqlmap -u "http://target/food/routers/edit-orders.php?id=1" --batch'}, {'type': 'list_item', 'content': "Manual test: Injecting SQL payloads such as ' OR '1'='1 in parameters sent to edit-orders.php and observing unexpected behavior or error messages."}] [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include validating and sanitizing all user inputs on the edit-orders.php endpoint to prevent SQL Injection.
Use prepared statements or parameterized queries in the code to handle database interactions safely.
If possible, restrict access to the vulnerable endpoint and monitor logs for suspicious activity until a patch or fix is applied.