Submit #1011790: subhajitkhan online-clinic-management-system e9ee77a8827a1446220fa07ee693dc4d9a29a578 Cross Site Scriptinginfo

Titlesubhajitkhan 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)
Submission10/02/2026 17:06 (16 days ago)
Moderation10/18/2026 19:02 (16 days later)
StatusAccepted
VulDB entry421901 [subhajitkhan online-clinic-management-system up to e9ee77a8827a1446220fa07ee693dc4d9a29a578 Doctor Registration doctorregistration.php echo doc_name cross site scripting]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!