Code-Projects Food Distributor Site Cross-Site Scripting Vulnerability
Vulnerability
A cross-site scripting (XSS) vulnerability has been identified in Code-Projects Food Distributor Site version 1.0. The issue arises in the file '/admin/save_settings.php', where user input in the 'site_phone', 'site_email', and 'address' parameters is not properly sanitized before being output, allowing for the injection of malicious scripts. This vulnerability can be exploited remotely, but requires authentication and user interaction.
Impact
Exploitation of this vulnerability allows for cross-site scripting, where an attacker can inject malicious scripts that are executed in the context of the user's browser.
Reproduction
To reproduce this vulnerability, log into the application and navigate to the 'Site Settings' page. Once there, enter a script into the 'site_phone', 'site_email', or 'address' fields. After saving the settings, the injected script will be executed, demonstrating the cross-site scripting vulnerability.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
