Campcodes Retro Basketball Shoes Online Store
cpe:2.3:a:retro_basketball_shoes_online_store_project:retro_basketball_shoes_online_store:*:*:*:*:*:*:*
- 1.0
A cross-site scripting (XSS) vulnerability has been identified in Campcodes Retro Basketball Shoes Online Store version 1.0. The issue resides in the admin_running.php file, where the product_name parameter is not properly validated or encoded before being output to users. This flaw allows remote attackers to inject and execute malicious scripts in the context of the user's browser, potentially leading to the theft of cookies, session tokens, or other sensitive information.
Exploitation of this vulnerability allows for cross-site scripting, where injected scripts are executed in the context of the user's browser.
To reproduce this vulnerability, access the '/admin/admin_running.php' file and manipulate the 'product_name' parameter by injecting a script payload, such as a simple alert script. This can be done by including the script tag in the 'product_name' parameter, which will then be executed when the page is loaded.
It is recommended to implement proper input validation and output encoding for user-controlled data, especially in parameters that can be manipulated. Additionally, consider using a Content Security Policy (CSP) to restrict the execution of scripts.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.