| 标题 | restaurant-website-php-mysql-master web 1 XSS vulnerability |
|---|
| 描述 | The selected_date parameter is not sanitized, allowing attackers to inject JavaScript. This results in reflected XSS when the form is submitted.
PoC:
Fill out and submit the first form.
Modify the selected_date value using Developer Tools (F12) to inject a script:
<script>alert('xss')</script>
Submit the second form, and an alert (alert(1)) will confirm the XSS vulnerability. |
|---|
| 来源 | ⚠️ https://github.com/dream357/report/blob/main/restaurant-website-report.docx |
|---|
| 用户 | dream123 (UID 92387) |
|---|
| 提交 | 2025-11-09 15時55分 (9 月前) |
|---|
| 管理 | 2025-11-30 15時01分 (21 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 333812 [jairiidriss RestaurantWebsite 直到 e7911f12d035e8e2f9a75e7a28b59e4ef5c1d654 Make a Reservation selected_date 跨网站脚本] |
|---|
| 积分 | 20 |
|---|