| Titre | sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Cross Site Scripting |
|---|
| Description | Public search handlers copy request parameters into `CommonCondition` or entity objects and return JSP pages without output encoding. `HospitalController.java` processes hospital search parameters at lines 89-125 and 134-169; `DoctorController.java` does the same at lines 83-114; and `OfficeController.java` at lines 85-106. The corresponding JSP files, including `allHospital.jsp` lines 77-79, `orderHos.jsp` lines 77-79, `doctor.jsp` lines 35-45, and `orderOffice.jsp` lines 34-40, interpolate those values in HTML attribute contexts with raw `${...}` expressions. A remote unauthenticated attacker can inject an attribute-breaking payload through a search parameter and execute JavaScript in a visitor's browser. |
|---|
| La source | ⚠️ https://github.com/sfturing/hosp_order/issues/118 |
|---|
| Utilisateur | cnluminous (UID 98136) |
|---|
| Soumission | 22/07/2026 18:59 (il y a 2 mois) |
|---|
| Modérer | 22/09/2026 07:42 (2 months later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 408342 [sfturing hosp_order Public Search Handlers HospitalController.java Recherche cross site scripting] |
|---|
| Points | 20 |
|---|