Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin access to application
-
DeliverySubmit crafted category_title in add_category.php
-
ExploitPayload stored in Category Management
-
ExecutionAdmin views category page
-
ImpactScript executes in admin browser
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 an authenticated high-privilege (administrator) account on the Online Food Ordering System, because the vulnerable code path is the admin-only Category Management page (admin/add_category.php) and the CVSS vector specifies PR:H. The attacker injects script through the category_title field, and the CVSS UI:P flag means a victim user must subsequently load the affected admin page for the payload to execute - it does not fire autonomously. Limiting factors: administrative authentication is mandatory, user interaction is required, and impact is confined to limited integrity (VI:L) with no confidentiality or availability effect. No special non-default configuration is called out in the description beyond having the Category Management component in use. |
| Impact | This is a high-CVSS-in-name-only, low-real-risk issue once the signals are weighed together. The CVSS 4.0 vector scores 4.8 (medium), and its own metrics undercut urgency: PR:H means the attacker must already hold high-privilege (administrative) access to the application, and UI:P means a victim must interact for the payload to fire. The only impact is VI:L (limited integrity) via reflected/stored script in the Category Management screen - VC:N, VA:N, and no scope change (SC:N/SI:N/SA:N), so there is no confidentiality or availability loss. The SSVC-style decision label from the source is 'this_month', not act_now or emergency, consistent with a low-urgency finding. No EPSS score and no KEV listing are provided, so there is no evidence of active exploitation or measured exploitation probability - absence of these is not itself a risk signal, but nothing elevates this beyond routine patching. The exploit maturity is E:P (proof-of-concept): a public PoC reference (a GitHub gist) is listed, but the input states it is not verified as working exploit code. Net: a self-XSS-adjacent admin-authenticated flaw in an obscure tutorial-grade product - real but low priority. |
| Exploit ScenarioDerived | An authenticated administrator (or an attacker who has already compromised an admin session) submits a crafted category_title value containing script in admin/add_category.php; the unsanitized value is later rendered in the Category Management interface, executing JavaScript in the browser of an admin user who views it. A public PoC reference (GitHub gist) exists but is not verified as working exploit code, and because high privileges plus user interaction are required, realistic exploitation is limited to tricking or leveraging another privileged user. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Cross-site scripting in the Category Management page (admin/add_category.php) of SourceCodester Online Food Ordering System 1.0 lets an authenticated administrator inject script through the category_title field, which then executes when a victim loads the affected admin page. The attacker must already hold a high-privilege administrator account (CVSS PR:H) and the victim must be induced to load the crafted page (UI:P), so the practical impact is limited to limited integrity effects with no confidentiality or availability loss. A public PoC reference exists; it is not verified as working exploit code, and there is no CISA KEV confirmation of active exploitation in the supplied data.
RemediationAI
No vendor-released patch is identified at time of analysis, and no fixed version number is given in the available references, so remediation must be compensating until the vendor ships a fix. Because exploitation requires an administrator session on the Category Management page, the highest-leverage control is to restrict access to the admin interface - admin/add_category.php and the wider /admin path - to trusted source addresses or a VPN/management network, which reduces exposure but does not remove the flaw for legitimate administrators. Where the Category Management screen is not actively needed, disable or remove admin/add_category.php from the deployed application, accepting that category administration is then unavailable. Applying server-side validation plus HTML entity encoding on the category_title value before it is rendered, and deploying a restrictive Content-Security-Policy on admin pages, will neutralize or constrain injected script but requires code changes the vendor has not published in the referenced material. Track https://vuldb.com/vuln/431164 and https://www.sourcecodester.com/ for an official update, and treat the disclosed PoC reference (https://gist.github.com/shamillshaanuh/f5e39643e1504536f55bf02bb51c3598) as a live template for retesting once a fix appears.
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 affected component is a PHP-based web application, SourceCodester Online Food Ordering System 1.0, whose administrative back end exposes a Category Management function in admin/add_category.php. The flaw is CWE-79 (Improper Neutralization of Input During Web Page Generation), where user-supplied content in the category_title argument is written into an admin-facing page without adequate output encoding, so script supplied through that field is rendered in the browser of whoever views the page. The trigger described by the source is exactly this manipulation of the category_title argument; the mechanism is unsanitized input reaching rendered markup, not a memory-safety or logic flaw. The vendor's product CPE is recorded as cpe:2.3:a:sourcecodester:online_food_ordering_system:*:*:*:*:*:*:*:* with a wildcard version, and the CVE description names version 1.0 specifically, so no other version ranges are confirmed. Both the vendor-supplied CVSS 4.0 vector and the independent assessment require high privileges (PR:H) and user interaction (UI:P / UI:R), with scope change and limited integrity impact only - no confidentiality or availability effect is asserted by either vector.
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 Category Management page requires PR:H; victim must view the page so UI:R; stored script crossing into a victim's browser gives S:C with only limited integrity impact (I:L).
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was found in SourceCodester Online Food Ordering System 1.0. The impacted element is an unknown function of the file admin/add_category.php of the component Category Management. Performing a manipulation of the argument category_title results in cross site scripting. The attack may be initiated remotely. The exploit has been made public and could 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-117268
GHSA-ww56-cmv9-p2j3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB