| 제목 | yashpokharna2555 restaurent-management-system 1 Cross Site Scripting |
|---|
| 설명 | A vulnerability has been found in yashpokharna2555 restaurent-management-system. The application stores user-controlled `username` values during registration and later propagates that value into the session and outputs it in `index.php` without HTML encoding. Specifically, `login_register.php` inserts the attacker-controlled username into the database, the login logic assigns the username to `$_SESSION['username']`, and `index.php` prints the session value directly into the HTML response. This results in stored cross-site scripting and allows arbitrary JavaScript execution in the victim browser when the affected page is viewed.
|
|---|
| 원천 | ⚠️ https://github.com/yashpokharna2555/restaurent-management-system/issues/4 |
|---|
| 사용자 | wr0ld (UID 98487) |
|---|
| 제출 | 2026. 05. 27. AM 10:33 (1 월 ago) |
|---|
| 모더레이션 | 2026. 06. 27. PM 08:10 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 374494 [yashpokharna2555 restaurent-management-system Registration login_register.php 사용자 이름 크로스 사이트 스크립팅] |
|---|
| 포인트들 | 20 |
|---|