| Título | sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Cross Site Scripting |
|---|
| Descrição | 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 |
|---|
| Utilizador | cnluminous (UID 98136) |
|---|
| Submissão | 22/07/2026 18h59 (há 2 meses) |
|---|
| Moderação | 22/09/2026 07h42 (2 months later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 408342 [sfturing hosp_order até 627f426331da8086ce8fff2017d65b1ddef384f8 Public Search Handlers HospitalController.java Pesquisa Script de Site Cruzado] |
|---|
| Pontos | 20 |
|---|