| Title | subhajitkhan online-clinic-management-system e9ee77a8827a1446220fa07ee693dc4d9a29a578 Cross Site Scripting |
|---|
| Description | `doctorregistration.php` accepts `doc_name` and other profile fields at lines 5-21 and inserts them at lines 39-42 without output encoding. `listdoctor.php` renders `doc_name`, department, qualification, and email with raw `echo` calls at lines 178-188; `admindocview.php` has equivalent raw output at lines 159-171. A public registration request storing `<img src=x onerror=alert(413)>` was verified to render the exact executable HTML in the public directory. An attacker can execute JavaScript in the browser of directory visitors and administrative users.
|
|---|
| Source | ⚠️ https://github.com/subhajitkhan/online-clinic-management-system/issues/6 |
|---|
| User | tangliang (UID 101874) |
|---|
| Submission | 10/02/2026 17:06 (16 days ago) |
|---|
| Moderation | 10/18/2026 19:02 (16 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 421901 [subhajitkhan online-clinic-management-system up to e9ee77a8827a1446220fa07ee693dc4d9a29a578 Doctor Registration doctorregistration.php echo doc_name cross site scripting] |
|---|
| Points | 20 |
|---|