CVE-2026-4898 Details
Description
A vulnerability was identified in code-projects Online Food Ordering System 1.0. Affected by this vulnerability is an unknown functionality of the file /dbfood/contact.php. The manipulation of the argument Name leads to cross site scripting. It is possible to initiate the attack remotely. The exploit is publicly available and might be used.
A stored cross-site scripting vulnerability has been identified in Code-Projects Online Food Ordering System version 1.0. The issue resides in the name parameter of the /dbfood/contact.php file. This vulnerability allows for the injection of malicious JavaScript, which is executed when the stored contact message is viewed. The flaw arises from inadequate input sanitization and output encoding, enabling injected scripts to run in the context of the user's browser session.
It is recommended to properly sanitize and validate user input before storing it in the database. Additionally, implement output encoding to escape user-controlled data before rendering it in HTML. Regular security testing should be conducted to identify and address such vulnerabilities.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 26, 2026CISA-ADP
Assessed Mar 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://code-projects.org/ | [email protected] | Vendor |
| https://github.com/ahmadmarz10-hub/CVEsMarz/blob/main/Stored%20Cross-Site%20Scripting%20(XSS)%20in%20Online%20Food%20Ordering%20System%20in%20PHP.md | [email protected] | ExploitTechnical Description |
| https://vuldb.com/?ctiid.353640 | [email protected] | AdvisoryPartial Content |
| https://vuldb.com/?id.353640 | [email protected] | AdvisoryExploit |
| https://vuldb.com/?submit.776430 | [email protected] | ExploitTechnical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| code-projects Online Food Ordering System | 1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Mar 26, 2026 | New CVE Received | [email protected] |
Volerion