CVE-2023-0902: XSS in SourceCodester Simple Food Ordering System 1.0 process_order.php
- Vendor
- Food Ordering System Project
CVE-2023-0902 is a cross-site scripting (XSS) vulnerability in SourceCodester Simple Food Ordering System 1.0, specifically in the process_order.php file. The vulnerability arises from improper sanitization of the 'order' argument, allowing an attacker to inject arbitrary JavaScript or HTML code. The flaw can be exploited remotely, and public exploits are available.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary JavaScript in the context of the victim's browser, potentially leading to session hijacking, credential theft, or defacement. The presence of a public exploit increases the risk of widespread exploitation.
Mitigation
If you can’t patch tonight, do this now.
As an interim measure, restrict access to the vulnerable endpoint, employ a web application firewall (WAF) with XSS filtering, and ensure that user-supplied input is properly sanitized and encoded before rendering in the browser.
Remediation
Patch, then assume compromise.
Upgrade to a fixed version of SourceCodester Simple Food Ordering System, if available. If no official patch exists, apply input validation and output encoding on the 'order' parameter in process_order.php to prevent injection of malicious scripts.
Exploits
No validated public exploits yet. Hidden: 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-0902 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2023-0902 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-0902?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2023-0902.
- Is there a patch for CVE-2023-0902?
- Upgrade to a fixed version of SourceCodester Simple Food Ordering System, if available. If no official patch exists, apply input validation and output encoding on the 'order' parameter in process_order.php to prevent injection of malicious scripts.
- What products are affected by CVE-2023-0902?
- Food Ordering System Project Simple Food Ordering System.
- How severe is CVE-2023-0902?
- CVE-2023-0902 has a CVSS v3.1 score of 5.4 (Medium) and an EPSS score of 2.7% (86th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.