| Titel | Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Cross Site Scripting |
|---|
| Beschreibung | The 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. |
|---|
| Quelle | ⚠️ https://github.com/Rizwan17/inventory-management-system/issues/12 |
|---|
| Benutzer | RongJinHui (UID 100227) |
|---|
| Einreichung | 30.07.2026 18:07 (vor 1 Monat) |
|---|
| Moderieren | 09.09.2026 18:12 (1 month later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 401810 [Rizwan17 inventory-management-system bis bfe78a330d01bb26b9daec5dc9ecd5c77900e03f List includes/DBOperation.php category_name/brand_name/product_name Cross Site Scripting] |
|---|
| Punkte | 20 |
|---|