제출 #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. AM 11:55 (1 월 ago)
모더레이션2026. 11. 23. PM 07:31 (1 month later)
상태수락
VulDB 항목442505 [amirhamza05 Student-Management-System 까지 449397e35d42e3779f14f0bfc654ab307103f7e3 Live Chat chat_system.php send_message_chat 크로스 사이트 스크립팅]
포인트들20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!