| Titre | 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. |
|---|
| La source | ⚠️ https://github.com/dream357/report/blob/main/restaurant-website-report.docx |
|---|
| Utilisateur | dream123 (UID 92387) |
|---|
| Soumission | 09/11/2025 15:55 (il y a 9 mois) |
|---|
| Modérer | 30/11/2025 15:01 (21 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 333812 [jairiidriss RestaurantWebsite Make a Reservation selected_date cross site scripting] |
|---|
| Points | 20 |
|---|