| Titolo | SourceCodester Inventory Management System 1.0 Cross Site Scripting |
|---|
| Descrizione | A stored Cross-Site Scripting (XSS) vulnerability exists in Product Inventory Management System by SourceCodester. The Product Management module located at /api/products_handler.php does not sanitize or encode the Product_Name parameter before storing it in the database. When the product catalog is rendered at /products.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 Product Management page. |
|---|
| Fonte | ⚠️ https://gist.github.com/fhewm98/95f2ce47c88e1f08151397c0320d2752 |
|---|
| Utente | Mohammed Faheem (UID 100387) |
|---|
| Sottomissione | 05/08/2026 13:19 (1 mese fa) |
|---|
| Moderazione | 13/09/2026 07:14 (1 month later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 403229 [SourceCodester Inventory Management System 1.0 Product Management products_handler.php Product_Name cross site scripting] |
|---|
| Punti | 20 |
|---|