CVE-2026-5157 Details
Description
A vulnerability was identified in code-projects Online Food Ordering System 1.0. Affected is an unknown function of the file /form/order.php of the component Order Module. Such manipulation of the argument cust_id leads to cross site scripting. The attack may be performed from remote. The exploit is publicly available and might be used.
A reflected cross-site scripting vulnerability has been identified in version 1.0 of the Code-Projects Online Food Ordering System. The issue resides in the Order Module, specifically within the file '/form/order.php'. The vulnerability is triggered by manipulating the 'cust_id' parameter in HTTP GET requests, allowing attackers to inject malicious scripts that are executed in the context of the user's browser. This exploitation could lead to session hijacking, credential theft, or redirection to harmful websites. Notably, no authentication is required to carry out this attack.
It is recommended to sanitize user input before rendering it in HTML, validate that parameters contain only expected values, implement a restrictive Content Security Policy, and follow secure development practices by not reflecting user input directly into HTML responses.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 31, 2026CISA-ADP
Assessed Mar 31, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://code-projects.org/ | [email protected] | Not ApplicableVendor |
| https://gist.github.com/HxH404/f7f1502ffc9f2aacc936a6e8f290b6a5 | [email protected] | ExploitRemedy |
| https://vuldb.com/submit/776186 | [email protected] | Technical Description |
| https://vuldb.com/vuln/354189 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/354189/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| code-projects Online Food Ordering System | 1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Mar 31, 2026 | New CVE Received | [email protected] |
Volerion