CVE-2025-5628
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-05

Last updated on: 2025-06-06

Assigner: VulDB

Description
A vulnerability, which was classified as problematic, has been found in SourceCodester Food Menu Manager 1.0. Affected by this issue is some unknown functionality of the file /index.php of the component Add Menu Handler. The manipulation of the argument name/description leads to cross site scripting. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-05
Last Modified
2025-06-06
Generated
2026-05-07
AI Q&A
2025-06-05
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
remyandrade food_menu_manager 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-5628 is a Stored Cross-Site Scripting (XSS) vulnerability in SourceCodester Food Menu Manager 1.0, specifically in the /index.php file's Add Menu Handler component. It occurs because the application does not properly validate or sanitize user inputs in the 'name' and 'description' parameters. An attacker can inject malicious scripts into these fields when adding or managing menus. These scripts are stored on the server and executed in the browsers of users who view the affected menu entries, potentially compromising their security and privacy. [1]


How can this vulnerability impact me? :

This vulnerability can impact you by allowing attackers to execute arbitrary scripts in the browsers of users who access the affected menu entries. This can lead to theft of sensitive information such as cookies, session tokens, or other private data, potentially resulting in account hijacking, unauthorized actions on behalf of users, or other malicious activities compromising user security and privacy. [1]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by testing the input fields 'name' and 'description' in the /index.php Add Menu Handler component for improper input sanitization. You can attempt to inject typical XSS payloads such as `<script>alert(1)</script>` or `<svg/onload=alert(document.cookie)>` into these parameters when adding or managing menus. If the payload executes upon viewing the menu, the vulnerability is present. For example, using curl to submit a POST request with these payloads to the menu creation endpoint can help detect the issue. [1]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include implementing proper input validation and sanitization on the 'name' and 'description' parameters to prevent script injection. Until a patch is available, restrict user input to disallow HTML or script tags, and consider applying web application firewall (WAF) rules to block malicious payloads targeting these parameters. Additionally, limit user privileges to reduce the impact of potential exploitation. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart