---
id: "CVE-2026-122190"
kind: "vulnerability"
aliases: ["CVE-2026-122190"]
title: "Online Food Ordering System: admin category form allows cross-site scripting"
severity: "low"
cvss: 3.3
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["online-food-ordering", "other", "php", "self-hosted"]
not_affected_if: ["admin-area-not-exposed"]
published_at: "2026-11-05T04:17:12+00:00"
first_seen_at: "2026-11-05T04:31:48+00:00"
updated_at: "2026-11-05T04:33:38+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-122190", "first_seen_at": "2026-11-05T04:31:48+00:00"}]
exploit_sources: []
---

# Online Food Ordering System: admin category form allows cross-site scripting

A flaw in the admin/add_category.php page of SourceCodester Online Food Ordering System 1.0 lets the category_title input carry script that is not properly handled. An attacker who gets an admin to open a crafted link or page could run script in that admin's browser session.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check whether the application runs SourceCodester Online Food Ordering System, version `1.0`, by looking for `admin/add_category.php` in the web root

## Timeline

- 2026-11-05T04:31:48+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-122190

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
