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

Titlesubhajitkhan online-clinic-management-system e9ee77a8827a1446220fa07ee693dc4d9a29a578 Cross Site Scripting
Descriptionpatdocmsg.php reads query at lines 21-24 and inserts it in the chat.question field at line 36; docadvice.php prints that field with raw echo at lines 131-141. Conversely, docadvice.php reads advice at lines 22-25 and inserts it at line 39, while patdocmsg.php prints it unescaped at lines 124-134. Authenticated patient-to-doctor and doctor-to-patient submissions containing image event-handler payloads were both verified to render as raw markup in the recipient's portal. A compromised low-privilege account can execute script in another clinic user's session.
Source⚠️ https://github.com/subhajitkhan/online-clinic-management-system/issues/8
User
 yuanchao (UID 99964)
Submission10/09/2026 12:27 (15 days ago)
Moderation10/22/2026 10:26 (13 days later)
StatusAccepted
VulDB entry425219 [subhajitkhan online-clinic-management-system up to e9ee77a8827a1446220fa07ee693dc4d9a29a578 patdocmsg.php query cross site scripting]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!