| Titel | SourceCodester Inventory Management System 1.0 Cross Site Scripting |
|---|
| Beschreibung | A stored Cross-Site Scripting (XSS) vulnerability exists in Product Inventory Management System by SourceCodester. The Customer Management module located at /api/customers_handler.php does not sanitize or encode the Customer_Name parameter before storing it in the database. When the customer list is rendered at /customers.php, the stored payload executes in the victim's browser. An authenticated attacker can inject a malicious payload such as <img src=x onerror=alert(document.cookie)> via an intercepted POST request, causing session cookie theft and account takeover for any user who visits the Customer Management page. |
|---|
| Quelle | ⚠️ https://gist.github.com/fhewm98/46580c8919d2144e2e5e7598e54df868 |
|---|
| Benutzer | Mohammed Faheem (UID 100387) |
|---|
| Einreichung | 05.08.2026 12:59 (vor 1 Monat) |
|---|
| Moderieren | 13.09.2026 07:14 (1 month later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 403227 [SourceCodester Inventory Management System 1.0 Customer Management customers_handler.php Customer_Name Cross Site Scripting] |
|---|
| Punkte | 20 |
|---|