CVE-2026-92385 in Online Food Ordering Systeminfo

Summary

by MITRE • 09/16/2026

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.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 09/16/2026

The SourceCodester Online Food Ordering System version 1.0 contains a critical security flaw within its administrative interface, specifically located in the file /admin/update_category.php which handles category updates for the application's inventory or menu structure. This vulnerability manifests as an Unrestricted Upload of Web-Shell with Misconfiguration and Cross-Site Scripting (XSS), allowing attackers to inject malicious scripts into web pages viewed by other users. The root cause lies in insufficient input validation and sanitization mechanisms when processing data submitted through the category update functionality, which fails to properly filter special characters or script tags before storing them in the database or reflecting them back in the response without proper encoding.

From a technical perspective, this flaw represents a classic case of stored cross-site scripting where user-controllable input is not adequately sanitized prior to being processed by the backend logic and subsequently rendered in subsequent HTTP responses. An attacker can craft a malicious payload containing JavaScript code disguised as valid category data or metadata. When an administrator with sufficient privileges accesses the affected page, the browser executes the injected script within the context of the application's domain. This bypasses same-origin policy restrictions because the attack originates from the trusted server itself rather than an external origin, thereby granting the attacker elevated trust levels and access to sensitive cookies, session tokens, or other authentication credentials associated with that administrative session.

The operational impact of this vulnerability is severe due to its remote exploitability and public disclosure status. Since the manipulation can be initiated remotely without requiring prior authentication for the initial injection phase in some configurations, or by exploiting existing low-privilege accounts if available, it poses a significant risk to system integrity. Successful exploitation allows attackers to perform actions on behalf of authenticated administrators, steal session cookies leading to account takeover, deface web pages, redirect users to malicious sites, or harvest sensitive information such as database credentials hardcoded in client-side scripts. The fact that the exploit has been disclosed publicly means automated scanning tools and opportunistic attackers are actively seeking instances of this vulnerable software version, increasing the likelihood of compromise for any unpatched deployments still in production environments.

In terms of industry standards classification, this vulnerability aligns with CWE-79 Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting (XSS). It also relates to CWE-200 Exposure of Sensitive Information to an Unauthorized Actor due to the potential for session hijacking and credential theft. From a tactical standpoint, this falls under MITRE ATT&CK technique T1059 Command and Control via Web Protocols or T1078 Valid Accounts if used in conjunction with stolen credentials, as well as T1132 Data Encoding which may be employed to obfuscate the malicious payload during transmission.

Mitigation strategies must focus on immediate remediation of the source code defect alongside broader security hardening measures. Developers should implement strict input validation and output encoding for all data handled by /admin/update_category.php, ensuring that any user-supplied content is escaped according to context-specific rules before being stored or rendered. Utilizing a Content Security Policy (CSP) header can significantly reduce the impact of XSS attacks by restricting sources from which scripts are allowed to execute. Additionally, implementing HttpOnly and Secure flags on session cookies prevents client-side script access to these tokens, mitigating the risk of session hijacking even if an XSS attack succeeds. Regular security audits, static application security testing (SAST), and dynamic application security testing (DAST) should be integrated into the development lifecycle to detect such flaws early. For organizations currently running this version, immediate patching or upgrading to a secure alternative is strongly recommended given the public availability of exploits targeting this specific component.

Responsible

VulDB

Disclosure

09/16/2026

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00000

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!