| Title | restaurant-website-php-mysql-master web 1 XSS vulnerability |
|---|
| Description | 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. |
|---|
| Source | ⚠️ https://github.com/dream357/report/blob/main/restaurant-website-report.docx |
|---|
| User | dream123 (UID 92387) |
|---|
| Submission | 11/09/2025 15:55 (7 months ago) |
|---|
| Moderation | 11/30/2025 15:01 (21 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 333812 [jairiidriss RestaurantWebsite up to e7911f12d035e8e2f9a75e7a28b59e4ef5c1d654 Make a Reservation selected_date cross site scripting] |
|---|
| Points | 20 |
|---|