| Title | 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. |
|---|
| Source | ⚠️ https://github.com/sfturing/hosp_order/issues/118 |
|---|
| User | cnluminous (UID 98136) |
|---|
| Submission | 07/22/2026 18:59 (2 months ago) |
|---|
| Moderation | 09/22/2026 07:42 (2 months later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 408342 [sfturing hosp_order up to 627f426331da8086ce8fff2017d65b1ddef384f8 Public Search Handlers HospitalController.java cross site scripting] |
|---|
| Points | 20 |
|---|