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-2026-4899: Cross Site Scripting in code-projects Online Food Ordering System

0
Medium
VulnerabilityCVE-2026-4899cvecve-2026-4899
Published: Thu Mar 26 2026 (03/26/2026, 21:56:43 UTC)
Source: CVE Database V5
Vendor/Project: code-projects
Product: Online Food Ordering System

Description

CVE-2026-4899 is a medium severity cross-site scripting (XSS) vulnerability found in version 1. 0 of the code-projects Online Food Ordering System. The flaw exists in the /dbfood/food. php file, specifically in the handling of the 'cuisines' parameter, which can be manipulated to inject malicious scripts. This vulnerability can be exploited remotely without authentication but requires user interaction to trigger the XSS payload. Although the exploit code has been publicly released, there are no known active exploits in the wild yet. The vulnerability primarily threatens the confidentiality and integrity of user data by enabling attackers to execute arbitrary scripts in victims' browsers. Organizations using this system should prioritize patching or applying input validation and output encoding controls to mitigate the risk. Countries with significant deployment of this software or similar web-based food ordering platforms are at higher risk, especially where online food services are widely used. Given the medium CVSS score of 4.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/26/2026, 22:16:30 UTC

Technical Analysis

CVE-2026-4899 is a cross-site scripting (XSS) vulnerability identified in version 1.0 of the code-projects Online Food Ordering System, specifically within the /dbfood/food.php script. The vulnerability arises from improper sanitization of the 'cuisines' parameter, allowing an attacker to inject malicious JavaScript code. When a victim accesses a manipulated URL or input containing the crafted payload, the injected script executes in their browser context. This can lead to theft of session cookies, redirection to malicious sites, or unauthorized actions performed on behalf of the user. The vulnerability is remotely exploitable without requiring authentication, but user interaction is necessary to trigger the attack, such as clicking a malicious link. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required, but user interaction is needed. The impact on confidentiality is low, integrity is limited, and availability is unaffected. No patches have been officially released yet, and while exploit code is public, no active exploitation has been reported. This vulnerability highlights the importance of proper input validation and output encoding in web applications, especially those handling user-generated content or parameters in URLs.

Potential Impact

The primary impact of CVE-2026-4899 is the potential compromise of user data confidentiality and integrity through the execution of arbitrary scripts in the context of a victim's browser. Attackers can leverage this to steal session tokens, perform phishing attacks, or manipulate the user interface to deceive users. For organizations operating the affected Online Food Ordering System, this can lead to reputational damage, loss of customer trust, and potential regulatory consequences if user data is compromised. While availability is not directly impacted, the indirect effects of successful XSS attacks can disrupt business operations. Given the public availability of exploit code, the risk of exploitation may increase over time, especially if no mitigations are applied. The vulnerability is particularly concerning in environments where users frequently interact with the food ordering platform, such as restaurants, delivery services, and food aggregators, potentially affecting a broad user base.

Mitigation Recommendations

To mitigate CVE-2026-4899, organizations should implement strict input validation and output encoding on the 'cuisines' parameter to neutralize malicious scripts. Employing a web application firewall (WAF) with rules targeting XSS payloads can provide an additional protective layer. Since no official patch is currently available, developers should review and sanitize all user-controllable inputs, especially those reflected in responses. Utilizing Content Security Policy (CSP) headers can help restrict the execution of unauthorized scripts. Regular security testing, including automated scanning and manual code reviews focusing on injection points, is recommended. Educating users to avoid clicking suspicious links related to the food ordering system can reduce the risk of successful exploitation. Monitoring web server logs for unusual parameter values or repeated attempts to exploit the 'cuisines' parameter can aid in early detection of attack attempts.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-03-26T14:33:55.079Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69c5ac523c064ed76fd41c35

Added to database: 3/26/2026, 9:59:46 PM

Last enriched: 3/26/2026, 10:16:30 PM

Last updated: 3/27/2026, 12:28:28 AM

Views: 6

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 more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses