| タイトル | ningzichun student-management-system 98760f5711cf6dc8b4adca53a9e207ca49b02ebf Basic Cross Site Scripting |
|---|
| 説明 | The affected components are `admin/fun/addLog.php`, `admin/fun/getLog.php`, and `user/myLog.php`. `admin/fun/addLog.php:11` persists the requester-controlled `reason` and `detail` fields in `student_log`. `admin/fun/getLog.php:46-47` and `user/myLog.php:40-41` render the stored values directly into HTML with `echo` and no contextual encoding. An attacker can store an HTML event-handler payload; when a log view is opened, the browser executes attacker-controlled JavaScript in the application's origin. The write handler is also unauthenticated, allowing payload seeding without an account. |
|---|
| ソース | ⚠️ https://github.com/ningzichun/student-management-system/issues/11 |
|---|
| ユーザー | gscsd (UID 97914) |
|---|
| 送信 | 2026年07月30日 08:16 (2 月 ago) |
|---|
| モデレーション | 2026年09月24日 20:53 (2 months later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 409752 [ningzichun student-management-system 迄 98760f5711cf6dc8b4adca53a9e207ca49b02ebf admin/fun/addLog.php echo reason/detail クロスサイトスクリプティング] |
|---|
| ポイント | 20 |
|---|