提交 #818540: sambitraj STUDENT-MANAGEMENT-SYSTEM 1.0 Stored Cross-Site Scripting信息

标题sambitraj STUDENT-MANAGEMENT-SYSTEM 1.0 Stored Cross-Site Scripting
描述The backend dashboards (admin, student, teacher) display detailed information about students and teachers by directly echoing database values without any HTML entity encoding. A typical example from `admin_dashboard.php`: ```php <input type="text" id="btn1" value="<?php echo $row['name']?>" disabled> ``` Because $row['name'] is output as‑is inside an HTML attribute, an attacker who previously inserted a malicious payload (e.g., via Vulnerability #2 – Unauthorised Data Insertion) into the name field can break out of the attribute and inject arbitrary JavaScript. When an administrator or other user views the dashboard, the injected script executes in their browser.
来源⚠️ https://github.com/sambitraj/STUDENT-MANAGEMENT-SYSTEM/issues/3
用户
 Yuki-U (UID 97865)
提交2026-05-03 22時47分 (1 月前)
管理2026-05-29 19時06分 (26 days later)
状态已接受
VulDB条目367290 [sambitraj STUDENT-MANAGEMENT-SYSTEM 1.0 Dashboard Page 名称 跨网站脚本]
积分20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!