Description
A vulnerability was detected in code-projects Online Food Order System 1.0. The affected element is an unknown function of the file edit_food_items.php. Performing a manipulation of the argument dname results in cross site scripting. Remote exploitation of the attack is possible. The exploit is now public and may be used.
Published: 2026-08-15
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A cross‑site scripting flaw exists in the edit_food_items.php file of the Online Food Order System. Manipulating the dname argument allows an attacker to inject arbitrary JavaScript into the page rendered to other users. Because the input is not properly validated or encoded, malicious scripts can execute in the victim’s browser, potentially leading to session hijacking, defacement, or other client‑side attacks.

Affected Systems

The vulnerability affects the code‑projects Online Food Order System, specifically version 1.0. No other versions or related products are listed as impacted.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate severity and the vulnerability is exploitable over the network, meaning a remote attacker can trigger it via a web request. The EPSS score is not available and the issue is not listed in the CISA KEV catalog. The exploitation path is straightforward: an attacker crafts a request to edit_food_items.php with a malicious dname value, and the resulting page renders the injected script for any user who views the page. Without remediation, this flaw remains publicly documented and could be leveraged by attackers.

Generated by OpenCVE AI on August 15, 2026 at 23:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply any vendor‑supplied patch or upgrade to a fixed version of the Online Food Order System.
  • Sanitize the dname input and perform output encoding to prevent reflected script execution.
  • Deploy a stringent Content Security Policy that restricts the execution of inline scripts and only allows scripts from trusted sources.

Generated by OpenCVE AI on August 15, 2026 at 23:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 22:15:00 +0000

Type Values Removed Values Added
Description A vulnerability was detected in code-projects Online Food Order System 1.0. The affected element is an unknown function of the file edit_food_items.php. Performing a manipulation of the argument dname results in cross site scripting. Remote exploitation of the attack is possible. The exploit is now public and may be used.
Title code-projects Online Food Order System edit_food_items.php cross site scripting
First Time appeared Code-projects
Code-projects online Food Order System
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:code-projects:online_food_order_system:*:*:*:*:*:*:*:*
Vendors & Products Code-projects
Code-projects online Food Order System
References
Metrics cvssV2_0

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

cvssV3_0

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

cvssV3_1

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

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Code-projects Online Food Order System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-15T22:00:10.851Z

Reserved: 2026-08-15T05:08:18.259Z

Link: CVE-2026-19916

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T22:16:52.850

Modified: 2026-08-15T22:16:52.850

Link: CVE-2026-19916

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T23:30:16Z

Weaknesses
  • CWE-79

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

  • CWE-94

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