| शीर्षक | Student-Admission-Reflection Xss |
|---|
| विवरण | Payload:index.php?a=edit&eid=8</h3><script>alert(1)</script>
Without checking the EID parameter, PHP print is directly used to output it, causing reflective XSS vulnerability and allowing attackers to obtain Cookie values.
Code
```
<div class="form-area">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="section-title">
<h3 id="et">Edit the ID:
<?php print $_GET['eid'].', Name: '.$row["sname"]; ?>'s information</h3>
```
url:https://github.com/badboycxcc/Student-Admission-Xss |
|---|
| स्रोत | ⚠️ https://github.com/badboycxcc/Student-Admission-Xss |
|---|
| उपयोगकर्ता | cxaqhq (UID 23728) |
|---|
| सबमिशन | 04/08/2022 07:58 AM (4 साल पहले) |
|---|
| संयम | 04/08/2022 08:05 AM (7 minutes later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 205572 [SourceCodester Online Admission System index.php eid क्रॉस साइट स्क्रिप्टिंग] |
|---|
| अंक | 20 |
|---|