Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin access to panel
-
DeliverySubmit crafted category with script payload
-
ExploitPayload stored/reflected in update_category.php
-
ExecutionScript executes in admin browser
-
ImpactSession/UI actions in admin context
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. |
| Exploitation Conditions | Exploitation requires authenticated administrative access to the application's admin panel to reach /admin/update_category.php (CVSS PR:H), plus user interaction (UI:P) - an admin must view the page where the injected payload renders. It affects the Category Update component of Online Food Ordering System 1.0 specifically. Limiting factors: the high-privilege prerequisite means an attacker must already be an authenticated admin (or have hijacked such an account), the impact is confined to limited integrity in the browser context (VC:N/VA:N), and there is no confidentiality or availability effect, making this closer to admin self-XSS than a remotely weaponizable pre-auth flaw. |
| Impact | This is a low-severity stored/reflected cross-site scripting flaw (CWE-79) in the Category Update function (/admin/update_category.php) of SourceCodester Online Food Ordering System 1.0. The vendor CVSS 4.0 score is only 1.9, and the vector CVSS:4.0/AV:N/AC:L/PR:H/UI:P/VC:N/VI:L/VA:N reflects the reality: exploitation targets an admin-side endpoint (PR:H - high privileges required), needs user interaction (UI:P), and yields only limited integrity impact (VI:L) with no confidentiality or availability impact. A public exploit exists (VulDB, POC on GitHub gist and Google Drive), so 'publicly available exploit code exists' - but there is no CISA KEV listing and no EPSS score was provided, so there is no evidence of active or widespread exploitation. The high-privilege requirement is the dominant limiting factor: an attacker who can reach /admin/update_category.php already holds administrative access, making this closer to self-XSS or a stepping stone against a co-admin than a broadly damaging flaw. Net assessment: real but very low priority - a genuine bug with public POC, but the PR:H barrier and negligible impact make it a low real-world risk despite public disclosure. |
| Exploit ScenarioDerived | An authenticated administrator (or an attacker who has already compromised admin credentials) submits a category update via /admin/update_category.php containing a malicious script payload in an unsanitized field. When the stored/reflected value is later rendered in the admin interface, the script executes in the browser of an admin viewing the page. A public exploit/POC is available (VulDB, GitHub gist, and Google Drive link), lowering the effort to reproduce, though the required admin privileges sharply limit realistic abuse. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
Cross-site scripting (XSS) in the Category Update function (/admin/update_category.php) of SourceCodester Online Food Ordering System 1.0 allows an authenticated administrator to inject script payloads that execute in the browser when the manipulated category page is rendered, requiring user interaction. Publicly available exploit code exists, but the high-privilege prerequisite (admin access) and limited integrity-only impact make this a low-severity admin self-XSS scenario; no active exploitation (CISA KEV) is indicated.
RemediationAI
No vendor-released patch identified at time of analysis. As compensating controls, restrict access to the /admin/update_category.php endpoint to trusted administrators only, enforce strict input validation and output encoding on category name and description fields, and deploy a Content Security Policy (CSP) to mitigate script execution (side effect: CSP may break legitimate admin UI features). Consider a web application firewall (WAF) rule to block script tags in admin requests (trade-off: potential false positives on benign input). Because exploitation requires authenticated admin access, enforce strong authentication and monitor admin activity for suspicious changes. Refer to the VulDB entry (https://vuldb.com/vuln/405522), the public exploit gist (https://gist.github.com/MuhammadAmmar-Hacker/d0426a562fe0fa59efbfe7d45778ed27), and the linked exploit file (https://drive.google.com/file/d/1nwr_EravSW9f62itP8sS6OpE3rqRDVkn/view) for further details. No exact fix version is available at this time.
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 classic CWE-79 cross-site scripting flaw in the PHP-based SourceCodester Online Food Ordering System, specifically in the /admin/update_category.php script that handles category updates. The application fails to sanitize or encode user-supplied input before reflecting it back to the admin interface, allowing script injection. The affected CPE is cpe:2.3:a:sourcecodester:online_food_ordering_system:*:*:*:*:*:*:*:* and version 1.0 per the ENISA EUVD entry. Exploitation requires the victim to be an authenticated administrator (CVSS PR:H) and to interact with the crafted page (UI:P/UI:R), which limits the attack to a stored or reflected XSS against a privileged user session. The impact is confined to browser-context integrity (VI:L) with no confidentiality or availability effect.
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:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Admin-only endpoint drives PR:H; stored XSS needs a victim view (UI:R) and executes across the browser trust boundary (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability has been found in SourceCodester Online Food Ordering System 1.0. The affected element is an unknown function of the file /admin/update_category.php of the component Category Update. The manipulation leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may 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-80835
GHSA-prx4-c736-33x3
NVD
CVE.org
EPSS
VulDB
Exploit-DB