提出 #1055655: amirhamza05 Student-Management-System 1.0 Stored Cross-Site Scripting情報

タイトルamirhamza05 Student-Management-System 1.0 Stored Cross-Site Scripting
説明A stored cross-site scripting (XSS) vulnerability exists in the Live Chat functionality. The chat message handler in `page_action/nav_bar/chat_system.php:3-10` accepts the `send_message_chat` POST parameter and stores the message in the `chat` table without sanitization or HTML encoding. When the chat body is loaded, the stored message is echoed directly into the page via `<?php echo "$message"; ?>` at `chat_system.php:97` and `chat_system.php:127`, with no output encoding applied. As a result, any authenticated user can send a chat message containing arbitrary HTML or JavaScript, such as: ```html <script>alert(document.domain)</script> ``` The payload persists in the database and executes in the browser of every user who opens the Live Chat panel, including administrators. The Live Chat entry is visible to all logged-in users via `layout/nev_bar.php:32`, and the entry point `nav_bar_action.php` only verifies that a session exists.
ソース⚠️ https://github.com/amirhamza05/Student-Management-System/issues/77
ユーザー
 CDicetea (UID 96479)
送信2026年10月24日 11:55 (1 月 ago)
モデレーション2026年11月23日 19:31 (1 month later)
ステータス承諾済み
VulDBエントリ442505 [amirhamza05 Student-Management-System 迄 449397e35d42e3779f14f0bfc654ab307103f7e3 Live Chat chat_system.php send_message_chat クロスサイトスクリプティング]
ポイント20

Do you need the next level of professionalism?

Upgrade your account now!