Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12298: Cross Site Scripting in code-projects Simple Food Ordering System

0
Medium
VulnerabilityCVE-2025-12298cvecve-2025-12298
Published: Mon Oct 27 2025 (10/27/2025, 17:02:06 UTC)
Source: CVE Database V5
Vendor/Project: code-projects
Product: Simple Food Ordering System

Description

A vulnerability was identified in code-projects Simple Food Ordering System 1.0. This affects an unknown part of the file /editcategory.php. The manipulation of the argument pname leads to cross site scripting. It is possible to initiate the attack remotely. The exploit is publicly available and might be used.

AI-Powered Analysis

AILast updated: 10/27/2025, 17:23:27 UTC

Technical Analysis

CVE-2025-12298 is a Cross Site Scripting (XSS) vulnerability identified in the Simple Food Ordering System version 1.0 developed by code-projects. The vulnerability exists in the /editcategory.php file, where the pname parameter is improperly sanitized, allowing an attacker to inject malicious JavaScript code. This flaw can be exploited remotely without any authentication or privileges, requiring only user interaction to trigger the malicious script execution in the victim's browser. The vulnerability is classified as reflected XSS, where the injected code is reflected off the web server in the response. The CVSS 4.0 base score is 5.3 (medium severity), reflecting the network attack vector, low complexity, no privileges required, but requiring user interaction. The impact primarily affects confidentiality and integrity by enabling session hijacking, cookie theft, or manipulation of the web interface. Availability impact is minimal. Although no active exploits in the wild are reported, proof-of-concept exploits are publicly available, increasing the risk of exploitation. The vulnerability arises due to insufficient input validation and output encoding in the affected parameter. The Simple Food Ordering System is typically used by small to medium-sized food service businesses to manage orders and categories, making the vulnerability relevant to organizations relying on this software for online ordering and menu management.

Potential Impact

For European organizations, this vulnerability poses a risk mainly to the confidentiality and integrity of user sessions and data. Attackers could hijack user sessions, steal sensitive information such as login credentials or personal data, or deface the ordering system's interface, damaging brand reputation and customer trust. In the food service sector, this could disrupt online ordering processes, potentially leading to financial losses and operational disruptions. Since the vulnerability requires user interaction, phishing or social engineering campaigns could be used to lure users into triggering the exploit. The impact is more pronounced for organizations that rely heavily on this software for customer-facing services, especially those with high volumes of online orders. Additionally, regulatory compliance under GDPR may be affected if personal data is compromised, leading to legal and financial consequences. The lack of a patch increases the urgency for alternative mitigations to prevent exploitation.

Mitigation Recommendations

1. Implement strict input validation on the pname parameter to allow only expected characters and reject any suspicious input. 2. Apply proper output encoding (e.g., HTML entity encoding) before rendering user-supplied data in the web page to prevent script execution. 3. Use Content Security Policy (CSP) headers to restrict the execution of inline scripts and reduce the impact of XSS attacks. 4. If possible, upgrade to a patched version of the Simple Food Ordering System once available or contact the vendor for a security update. 5. Employ web application firewalls (WAF) with rules tailored to detect and block XSS payloads targeting the affected endpoint. 6. Conduct user awareness training to recognize phishing attempts that could lead to exploitation. 7. Regularly monitor web server logs for suspicious requests targeting /editcategory.php with unusual pname parameter values. 8. Consider isolating the ordering system in a segmented network zone to limit lateral movement in case of compromise.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-10-26T16:59:27.705Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68ffa6e0ba6dffc5e203687a

Added to database: 10/27/2025, 5:07:44 PM

Last enriched: 10/27/2025, 5:23:27 PM

Last updated: 10/30/2025, 9:46:41 AM

Views: 23

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats