| Titre | hemant6488 CodeIgniter-StudentManagementSystem 1.0 Stored Cross-Site Scripting |
|---|
| Description | The `addStudent` method in the `Students` controller does not perform any input filtering or sanitisation before storing user-supplied data in the database. Subsequently, the `view_students.php` view renders the student’s name directly without HTML entity encoding.
This allows an attacker to inject arbitrary JavaScript (e.g., via the `name` parameter) that is persisted in the database and executed whenever any user visits the student listing page. Because the endpoint is accessible without authentication (see the Broken Access Control vulnerability), the attack can be carried out by an anonymous remote user. |
|---|
| La source | ⚠️ https://github.com/hemant6488/CodeIgniter-StudentManagementSystem/issues/6 |
|---|
| Utilisateur | BingZhe (UID 97643) |
|---|
| Soumission | 27/04/2026 17:53 (il y a 1 mois) |
|---|
| Modérer | 25/05/2026 21:08 (28 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 365538 [hemant6488 CodeIgniter-StudentManagementSystem Students Controller view_students.php addStudent Nom cross site scripting] |
|---|
| Points | 20 |
|---|