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

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

Description

CVE-2026-4898 is a medium-severity cross-site scripting (XSS) vulnerability found in version 1. 0 of the code-projects Online Food Ordering System. The vulnerability exists in the /dbfood/contact. php file, where the 'Name' parameter is improperly sanitized, allowing remote attackers to inject malicious scripts. Exploitation requires no authentication but does require user interaction to trigger the payload. While no known exploits are currently active in the wild, a public exploit is available. This vulnerability can lead to session hijacking, defacement, or redirection to malicious sites, impacting user trust and data integrity. Organizations using this system should prioritize input validation and consider implementing Content Security Policy (CSP) headers. Countries with significant deployments of this software or large online food ordering markets are at higher risk. The CVSS 4.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/26/2026, 21:47:29 UTC

Technical Analysis

CVE-2026-4898 is a cross-site scripting (XSS) vulnerability identified in the code-projects Online Food Ordering System version 1.0, specifically within the /dbfood/contact.php endpoint. The vulnerability arises from insufficient input validation or output encoding of the 'Name' parameter, which can be manipulated by an attacker to inject malicious JavaScript code. This flaw allows remote attackers to craft URLs or form submissions that, when visited or submitted by unsuspecting users, execute arbitrary scripts in the context of the victim's browser. The vulnerability does not require any authentication or privileges to exploit, and user interaction is necessary to trigger the malicious payload. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:N), user interaction required (UI:P), and limited impact on integrity (VI:L) with no impact on confidentiality or availability. Although no active exploitation has been reported, a public exploit exists, increasing the risk of future attacks. This vulnerability can be leveraged for session hijacking, phishing, or delivering further malware, undermining user trust and potentially compromising sensitive information. The affected product is a niche online food ordering system, which may be deployed by small to medium-sized businesses. No official patches or mitigation links have been provided yet, highlighting the need for manual remediation or compensating controls.

Potential Impact

The primary impact of CVE-2026-4898 is on the confidentiality and integrity of user interactions with the affected online food ordering system. Successful exploitation can lead to theft of session cookies, enabling attackers to impersonate legitimate users, potentially accessing personal data or order information. It can also facilitate phishing attacks by injecting deceptive content or redirecting users to malicious websites. Although availability is not directly affected, the reputational damage and loss of customer trust can have significant business consequences. Given the nature of the product, small and medium enterprises relying on this system for online orders may face customer churn and regulatory scrutiny if user data is compromised. The ease of exploitation without authentication and the availability of a public exploit increase the likelihood of opportunistic attacks, especially in regions with high online food delivery usage. However, the limited scope of the affected product and the requirement for user interaction somewhat constrain the overall impact.

Mitigation Recommendations

To mitigate CVE-2026-4898, organizations should immediately implement robust input validation and output encoding on the 'Name' parameter within /dbfood/contact.php to neutralize malicious scripts. Employing context-aware encoding (e.g., HTML entity encoding) is critical to prevent script injection. Additionally, deploying a strict Content Security Policy (CSP) can reduce the risk by restricting the execution of unauthorized scripts. Web application firewalls (WAFs) configured to detect and block XSS payloads can provide a temporary protective layer until code fixes are applied. Regularly updating the software to newer, patched versions once available is essential. Security teams should also conduct thorough code reviews and penetration testing focused on input handling. User education about phishing risks and suspicious links can reduce the success rate of attacks requiring user interaction. Monitoring web logs for unusual request patterns targeting the vulnerable parameter can help detect exploitation attempts early. Finally, isolating the affected system from critical internal networks limits lateral movement if an attack succeeds.

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:31:20.891Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69c5a54b3c064ed76fcfc83b

Added to database: 3/26/2026, 9:29:47 PM

Last enriched: 3/26/2026, 9:47:29 PM

Last updated: 3/27/2026, 5:26:41 AM

Views: 5

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