提交 #714018: Code-projects Student File Management System v1.0 Stored XSS vulnerability信息

标题Code-projects Student File Management System v1.0 Stored XSS vulnerability
描述A storage-type XSS vulnerability was found in the "update_student.php" file of the "Student File Management System" project. Root Cause Because update_student.php does not escape, clean or parameterize the POST request data submitted by the student, when the attacker submits a malicious Payload in the firstname, lastname field (for example,"&lt;img src=x onerror=alert(1)&gt;"), the code does not block it and permanently stores it in the "student" table of the database. When “student.php” reads the malicious firstname, lastname data in the database, and “echo $fetch['firstname']、echo $fetch['lastname']” to an HTML page as-is, the browser will <script>treat the HTML tag and execute its content. Immediate corrective actions are essential to safeguard system security and uphold data integrity.
来源⚠️ https://github.com/jjjjj-zr/jjjjjzr16/issues/1
用户
 jjzr (UID 93346)
提交2025-12-12 08時58分 (8 月前)
管理2025-12-13 14時30分 (1 day later)
状态已接受
VulDB条目336395 [code-projects Student File Management System 1.0 update_student.php 跨网站脚本]
积分20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!