code-projects Online Shoe Store
cpe:2.3:a:code-projects:online_shoe_store:*:*:*:*:*:*:*
- 1.0
A cross-site scripting (XSS) vulnerability has been identified in the code-projects Online Shoe Store version 1.0. The issue resides in the file '/admin/admin_football.php', where the 'product_name' parameter is not properly validated or encoded before being output to users. This flaw allows attackers to inject and execute malicious scripts in the context of the user's browser. The vulnerability can be exploited remotely, without the need for authentication or user interaction.
Exploitation of this vulnerability allows for cross-site scripting, where injected scripts are executed in the context of the victim's browser. This could lead to the theft of cookies, session tokens, or other sensitive information, as well as performing actions on behalf of the victim or redirecting them to malicious websites.
To reproduce this vulnerability, navigate to the '/admin/admin_football.php' file in the Online Shoe Store application. Inject a script into the 'product_name' parameter. The absence of input validation will allow the script to be executed when the input is displayed on the page.
It is recommended to implement proper output encoding for user inputs, especially in HTML contexts, and to validate and filter input data to reject potentially harmful content. Additionally, setting secure and HttpOnly flags for cookies can help protect sensitive information.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.