CVE-2026-4839
SQL Injection in SourceCodester Food Ordering System /purchase.php
Publication date: 2026-03-26
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| sourcecodester | food_ordering_system | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-74 | The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. |
| 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?
This vulnerability exists in the SourceCodester Food Ordering System 1.0, specifically in the /purchase.php file within the Parameter Handler component. It is caused by manipulation of the 'custom' argument, which leads to an SQL injection vulnerability. This means an attacker can remotely inject malicious SQL code through this parameter.
How can this vulnerability impact me? :
The SQL injection vulnerability can allow an attacker to execute arbitrary SQL commands on the database. This can lead to unauthorized access to sensitive data, data modification, or deletion. Since the attack can be initiated remotely without authentication, it poses a significant risk to the confidentiality, integrity, and availability of the affected system's data.