提出 #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 月 ago)
モデレーション2026年09月06日 13:58 (2 months later)
ステータス承諾済み
VulDBエントリ399410 [sfturing ssm_pro 迄 627f426331da8086ce8fff2017d65b1ddef384f8 Order Endpoint OrderController.java hospitalName/officesName/doctorName クロスサイトスクリプティング]
ポイント20

Do you need the next level of professionalism?

Upgrade your account now!