Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A Stored Cross-Site Scripting (XSS) vulnerability exists in SourceCodester Online Food Ordering System v1.0 in the Category management module within the admin panel. The application fails to properly sanitize user input supplied to the "Category Name" field when creating or updating a category. When an administrator or user visits the Category list page (or any page where this category is rendered), the injected JavaScript executes immediately in their browser.
AnalysisAI
Stored XSS in SourceCodester Online Food Ordering System v1.0 allows authenticated administrators to inject malicious JavaScript via the Category Name field in the admin panel, with payloads executing in the browsers of any user viewing the Category list. Publicly available exploit code exists; the vulnerability stems from insufficient input sanitization on a critical administrative function that affects all downstream users who access affected categories.
Technical ContextAI
The vulnerability is a Stored Cross-Site Scripting (XSS) flaw classified under CWE-79 (Improper Neutralization of Input During Web Page Generation). The Online Food Ordering System fails to sanitize or encode user-supplied input in the Category Name field during creation and update operations within the admin panel. Unlike reflected XSS, the injected payload is persisted in the application's data store and executes whenever any authenticated user views the affected category in the system, making it a high-impact attack vector. The root cause is the absence of input validation, output encoding, or content security policy enforcement at both the input (server-side sanitization) and output (HTML entity encoding) boundaries.
RemediationAI
Immediate remediation requires upgrading SourceCodester Online Food Ordering System to a patched version released by the vendor; however, no specific patched version number was provided in the available intelligence. Until a patched version is confirmed available and deployed, implement server-side input validation and output encoding: sanitize all user input to the Category Name field using a whitelist approach (e.g., alphanumeric characters and safe punctuation only), and apply HTML entity encoding when rendering category names in any output context. Additionally, deploy a Content Security Policy (CSP) header to restrict inline script execution, and conduct a comprehensive audit of other admin-panel input fields for similar XSS vulnerabilities. Reference the public exploit at https://github.com/meifukun/Web-Security-PoCs/blob/main/Online-Food-Ordering-System/Stored-XSS-Category-Name.md for technical details on the injection point and payload patterns to inform your testing and remediation validation.
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
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-16672