| Titre | yashpokharna2555 restaurent-management-system 1 Cross Site Scripting |
|---|
| Description | 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.
|
|---|
| La source | ⚠️ https://github.com/yashpokharna2555/restaurent-management-system/issues/4 |
|---|
| Utilisateur | wr0ld (UID 98487) |
|---|
| Soumission | 27/05/2026 10:33 (il y a 1 mois) |
|---|
| Modérer | 27/06/2026 20:10 (1 month later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 374494 [yashpokharna2555 restaurent-management-system Registration login_register.php Nom d'utilisateur cross site scripting] |
|---|
| Points | 20 |
|---|