提交 #902243: sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Cross Site Scripting信息

标题sfturing hosp_order 627f426331da8086ce8fff2017d65b1ddef384f8 Cross Site Scripting
描述The unauthenticated `POST /order` endpoint in `ssm_pro/src/main/java/cn/sfturing/web/OrderController.java` accepts `hospitalName`, `officesName`, and `doctorName` directly from the request (lines 61-76). `ssm_pro/src/main/resources/mapper/OrderRecordsDao.xml` persists these values in `order_records` (lines 14-19). `ssm_pro/src/main/webapp/WEB-INF/jsp/userCenter/userCenter.jsp` later renders all three database fields using unescaped `${...}` expressions at lines 75-79. An attacker can persist a script-bearing appointment field and cause JavaScript execution when an appointment page rendering that record is delivered to a browser.
来源⚠️ https://github.com/sfturing/hosp_order/issues/117
用户
 9ue33 (UID 100041)
提交2026-07-22 17時55分 (2 月前)
管理2026-09-06 13時58分 (2 months later)
状态已接受
VulDB条目399410 [sfturing ssm_pro 直到 627f426331da8086ce8fff2017d65b1ddef384f8 Order Endpoint OrderController.java hospitalName/officesName/doctorName 跨网站脚本]
积分20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!