| 제목 | Rizwan17 inventory-management-system bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Cross Site Scripting |
|---|
| 설명 | The affected component is the login page `index.php`. The registration success flow redirects to `index.php?msg=...`, and the page echoes `$_GET["msg"]` into HTML without encoding:
```php
if (isset($_GET["msg"]) AND !empty($_GET["msg"])) {
?>
<div class="alert alert-success alert-dismissible fade show" role="alert">
<?php echo $_GET["msg"]; ?>
```
An unauthenticated attacker can craft a URL containing JavaScript in `msg` and trick a victim into opening it, executing script in the victim's browser under the application origin. |
|---|
| 원천 | ⚠️ https://github.com/Rizwan17/inventory-management-system/issues/11 |
|---|
| 사용자 | cnluminous (UID 98136) |
|---|
| 제출 | 2026. 07. 30. PM 06:19 (1 월 ago) |
|---|
| 모더레이션 | 2026. 09. 09. PM 06:12 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 401813 [Rizwan17 inventory-management-system 까지 bfe78a330d01bb26b9daec5dc9ecd5c77900e03f Login Page index.php msg 크로스 사이트 스크립팅] |
|---|
| 포인트들 | 20 |
|---|