| タイトル | 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日 10:33 (1 月 ago) |
|---|
| モデレーション | 2026年06月27日 20:10 (1 month later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 374494 [yashpokharna2555 restaurent-management-system Registration login_register.php ユーザー名 クロスサイトスクリプティング] |
|---|
| ポイント | 20 |
|---|