Submit #1055655: amirhamza05 Student-Management-System 1.0 Stored Cross-Site Scriptinginfo

Titelamirhamza05 Student-Management-System 1.0 Stored Cross-Site Scripting
BeschreibungA 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.
Quelle⚠️ https://github.com/amirhamza05/Student-Management-System/issues/77
Benutzer
 CDicetea (UID 96479)
Einreichung24.10.2026 11:55 (vor 1 Monat)
Moderieren23.11.2026 19:31 (1 month later)
StatusAkzeptiert
VulDB Eintrag442505 [amirhamza05 Student-Management-System bis 449397e35d42e3779f14f0bfc654ab307103f7e3 Live Chat chat_system.php send_message_chat Cross Site Scripting]
Punkte20

Do you know our Splunk app?

Download it now for free!