| عنوان | SourceCodester Inventory Management System 1.0 Cross Site Scripting |
|---|
| الوصف | A stored Cross-Site Scripting (XSS) vulnerability exists in Product Inventory Management System by SourceCodester. The Vendor Management module located at /api/vendors_handler.php does not sanitize or encode vendor input fields before storing them in the database. When the vendor list is rendered at /vendors.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)> into vendor fields via an intercepted POST request, causing session cookie theft and account takeover for any user who visits the Vendor Management page. |
|---|
| المصدر | ⚠️ https://gist.github.com/fhewm98/5eaa9df770357351917f4538a3032eb7 |
|---|
| المستخدم | Mohammed Faheem (UID 100387) |
|---|
| ارسال | 05/08/2026 01:12 PM (1 شهر منذ) |
|---|
| الاعتدال | 13/09/2026 07:14 AM (1 month later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 403228 [SourceCodester Inventory Management System 1.0 Vendor Management /api/vendors_handler.php البرمجة عبر المواقع] |
|---|
| النقاط | 20 |
|---|