
CVE-2024-57522 - Stored XSS Vulnerability in Users.php - SourceCodester Packers and Movers Management System 1.0
This repository contains a Proof of Concept (PoC) for a Stored Cross-Site Scripting (XSS) vulnerability in the Packers and Movers Management System 1.0 by SourceCodester. The vulnerability is present in the Users.php endpoint, where an attacker can inject a malicious script into the username or name field during user creation. The script is then stored in the database and executed when an admin views the user list page, resulting in potential malicious actions.
This repository includes a PoC video, CVE-2024-57522.mkv, demonstrating how an attacker can exploit the XSS vulnerability. The PoC shows how an attacker can create a new admin user with a payload in the name field (e.g., <script>alert(1);</script>). When the admin visits the user list page, the malicious script executes, showing an alert with the message "1."
To mitigate this vulnerability, the following security measures are recommended: