Submit #814279: hemant6488 CodeIgniter-StudentManagementSystem 1.0 Stored Cross-Site Scriptinginfo

Titlehemant6488 CodeIgniter-StudentManagementSystem 1.0 Stored Cross-Site Scripting
DescriptionThe `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.
Source⚠️ https://github.com/hemant6488/CodeIgniter-StudentManagementSystem/issues/6
User
 BingZhe (UID 97643)
Submission04/27/2026 17:53 (3 months ago)
Moderation05/25/2026 21:08 (28 days later)
StatusAccepted
VulDB entry365538 [hemant6488 CodeIgniter-StudentManagementSystem Students Controller view_students.php addStudent Name cross site scripting]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!