| 제목 | Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Cross Site Scripting |
|---|
| 설명 | 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. |
|---|
| 원천 | ⚠️ https://github.com/Rizwan17/inventory-management-system/issues/12 |
|---|
| 사용자 | RongJinHui (UID 100227) |
|---|
| 제출 | 2026. 07. 30. PM 06:07 (1 월 ago) |
|---|
| 모더레이션 | 2026. 09. 09. PM 06:12 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 401810 [Rizwan17 inventory-management-system 까지 bfe78a330d01bb26b9daec5dc9ecd5c77900e03f List includes/DBOperation.php category_name/brand_name/product_name 크로스 사이트 스크립팅] |
|---|
| 포인트들 | 20 |
|---|