| Titolo | sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Cross Site Scripting |
|---|
| Descrizione | 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. |
|---|
| Fonte | ⚠️ https://github.com/sfturing/hosp_order/issues/118 |
|---|
| Utente | cnluminous (UID 98136) |
|---|
| Sottomissione | 22/07/2026 18:59 (2 mesi fa) |
|---|
| Moderazione | 22/09/2026 07:42 (2 months later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 408342 [sfturing hosp_order fino a 627f426331da8086ce8fff2017d65b1ddef384f8 Public Search Handlers HospitalController.java Ricerca cross site scripting] |
|---|
| Punti | 20 |
|---|