| 标题 | sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Cross Site Scripting |
|---|
| 描述 | 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. |
|---|
| 来源 | ⚠️ https://github.com/sfturing/hosp_order/issues/118 |
|---|
| 用户 | cnluminous (UID 98136) |
|---|
| 提交 | 2026-07-22 18時59分 (2 月前) |
|---|
| 管理 | 2026-09-22 07時42分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 408342 [sfturing hosp_order 直到 627f426331da8086ce8fff2017d65b1ddef384f8 Public Search Handlers HospitalController.java 搜索 跨网站脚本] |
|---|
| 积分 | 20 |
|---|