Description
QloApps through 1.7.0 contains a reflected cross-site scripting vulnerability in the back-office Hotel Reservation System Book Now search, where date_to and id_room_type parameters are copied into template variables without validation. Attackers can craft a malicious link containing JavaScript payload in these parameters that executes in an authenticated administrator's session when the victim follows the link.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Webkul | QloApps | ≤ 1.7.0 | — |
References
- Pull Request #1884 issue-tracking patch
- Patch Commit patch
- https://github.com/Qloapps/QloApps/blob/v1.7.0/modules/hotelreservationsystem/controllers/admin/AdminHotelRoomsBookingController.php technical-description
- https://github.com/Qloapps/QloApps/blob/v1.7.0/modules/hotelreservationsystem/views/templates/admin/hotel_rooms_booking/helpers/view/_partials/booking-rooms.tpl technical-description
- https://hackmd.io/@leediay/reflected-xss-qloapps-via-booking-now technical-description
- https://hackmd.io/@leediay/four-reflected-xss-qloapps technical-description
- https://github.com/Qloapps/QloApps product
- VulnCheck Advisory: QloApps through 1.7.0 Reflected XSS via Book Now Search Parameters third-party-advisory