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 | The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N) indicates network-accessible, low-complexity attack with no privileges required but requiring user interaction (UI:R), resulting in low integrity impact only. The low CVSS score of 4.3 reflects the limited scope of impact (session-scoped XSS with no confidentiality or availability impact). However, multiple risk amplification signals exist: the exploit is publicly available (noted as E:P in vector metadata), the reliability is rated as reasonable (RL:X suggests recent/confirmed reports), and exploit code is directly accessible on GitHub. From an SSVC perspective, exploitation is confirmed publicly available, likely automatable via script injection payloads, and technical impact is limited to integrity of displayed content. This is a moderate-priority vulnerability suitable for scheduled patching in normal maintenance windows rather than emergency response, but organizations with customer-facing contact forms should prioritize remediation given public exploit availability. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL containing JavaScript payload in the Name parameter (e.g., contact.php?Name=<script>alert('XSS')</script>) and tricks a victim into clicking it via phishing email or social engineering. When the victim visits the contact form page with the injected parameter, the unvalidated input is reflected directly into the HTML response, causing the attacker's JavaScript to execute in the victim's browser with the same privileges as the legitimate website. This could allow theft of session cookies, credential harvesting via fake login prompts, or redirection to malicious sites. Publicly available exploit code on GitHub (referenced in provided data) demonstrates this attack chain and can be rapidly weaponized by low-skill threat actors. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 26, 2026
The Online Food Ordering System 1.0 by code-projects contains a reflected cross-site scripting (XSS) vulnerability in the Name parameter of /dbfood/contact.php that allows unauthenticated remote attackers to inject malicious scripts. The vulnerability has a publicly available proof-of-concept and affects all versions of the affected product line. While the CVSS score of 4.3 is moderate, the public availability of exploit code and minimal complexity of attack execution elevate practical risk for instances exposed to the internet.
RemediationAI
No vendor-released patch identified at time of analysis. Organizations should immediately audit all instances of Online Food Ordering System for exposed contact forms and consider disabling the contact.php functionality or restricting access to trusted IP ranges via firewall rules. For continued operation, implement input validation and output encoding: ensure all user input in the Name parameter is validated against a whitelist of acceptable characters (alphanumeric and basic punctuation only) and encode all output using HTML entity encoding (e.g., htmlspecialchars() in PHP with ENT_QUOTES flag) before rendering in HTML context. Additionally, implement a Content Security Policy (CSP) header with script-src 'self' to mitigate XSS impact. Contact code-projects for patch availability or consider migrating to a maintained food ordering platform with active security support.
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 rooted in improper input validation and output encoding in a PHP-based web application, specifically classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The affected component is the contact.php file located in the /dbfood directory, which processes user-supplied input in the Name parameter without adequate sanitization or HTML entity encoding before rendering it in HTTP responses. This allows attackers to inject arbitrary JavaScript code that executes in the context of a victim's browser session. The affected product is code-projects Online Food Ordering System (CPE: cpe:2.3:a:code-projects:online_food_ordering_system:*:*:*:*:*:*:*:*), a PHP-based e-commerce platform for food ordering operations.
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 by this vulnerability is an unknown functionality of the file /dbfood/contact.php. The manipulation of the argument Name leads to cross site scripting. It is possible to initiate the attack remotely. The exploit is publicly available and might be used.
Executive ViewAI
Organizations using A vulnerability should be aware of moderate risk from CVE-2026-4898, a cross-site scripting vulnerability rated CVSS 5.3. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
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-16454
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB