CVE-2026-122190

SourceCodester Online Food Ordering System Category Management add_category.php cross site scripting

Published Nov 5, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A reflected cross‑site scripting flaw exists in the add_category.php component of the SourceCodester Online Food Ordering System. By submitting a specially crafted value for the category_title parameter, an attacker can cause arbitrary JavaScript to execute in the browser of any user who views the impacted page. The vulnerability is triggered by remote input and can lead to credential theft, session hijacking, or phishing attacks against site visitors.

Affected Systems

All installations of SourceCodester Online Food Ordering System version 1.0 that expose the admin/add_category.php page. The flaw is located in the Category Management module and affects the anonymous or authenticated usage of that endpoint.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity. The EPSS score is not publicly available, and the vulnerability is not currently listed in the CISA KEV catalog, but a public exploit exists. Attackers can trigger the flaw remotely via a crafted HTTP request. Successful exploitation would allow execution of malicious JavaScript in the victim’s browser, potentially compromising personal data, session cookies, and other sensitive information on the same domain.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Identify all servers that run SourceCodester Online Food Ordering System 1.0 and confirm whether admin/add_category.php is accessible from the internet or internal network.
  • Modify the add_category.php script to sanitise or escape the category_title input before rendering it—use functions such as htmlspecialchars or a dedicated templating engine to prevent reflected script execution.
  • Enforce strict authentication and role‑based access control on the admin panel so that only authorised administrators can submit category titles.

Generated by OpenCVE AI on November 5, 2026 at 04:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title SourceCodester Online Food Ordering System Category Management add_category.php cross site scripting
First Time appeared Sourcecodester
Sourcecodester online Food Ordering System
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:sourcecodester:online_food_ordering_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester online Food Ordering System
References
Metrics cvssV2_0

{'score': 3.3, 'vector': 'AV:N/AC:L/Au:M/C:N/I:P/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 2.4, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 2.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 4.8, 'vector': '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 5, 2026, 8:52 PM
Reserved
Nov 4, 2026, 7:09 PM
Status
Deferred
Published
Nov 5, 2026, 4:17 AM
Modified
Nov 5, 2026, 9:18 PM