Soumettre #911129: Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Cross Site Scriptinginformation

TitreRizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Cross Site Scripting
DescriptionThe affected components are write paths that store `category_name`, `brand_name`, and `product_name` (`includes/DBOperation.php`, `includes/manage.php` via `process.php`) and read paths that re-emit those values into HTML without encoding in `includes/process.php` manage/list handlers and option builders: ```php echo "<option value='".$row["cid"]."'>".$row["category_name"]."</option>"; ... <td><?php echo $row["category"]; ?></td> <td><?php echo $row["brand_name"]; ?></td> <td><?php echo $row["product_name"]; ?></td> ``` Because `process.php` is unauthenticated (CVE-04), an attacker can insert a script payload as a category/brand/product name; any later admin/user who loads manage pages or product pickers executes the script in their browser.
La source⚠️ https://github.com/Rizwan17/inventory-management-system/issues/12
Utilisateur
 RongJinHui (UID 100227)
Soumission30/07/2026 18:07 (il y a 1 mois)
Modérer09/09/2026 18:12 (1 month later)
StatutAccepté
Entrée VulDB401810 [Rizwan17 inventory-management-system List includes/DBOperation.php category_name/brand_name/product_name cross site scripting]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!