Executive brief
The VikBooking Hotel Booking Engine & PMS plugin for WordPress, which manages hotel reservations and property systems, is vulnerable to a security flaw that allows attackers to run malicious scripts in a user's browser. An attacker could exploit this by tricking a user into clicking a specially crafted link, potentially leading to unauthorized actions or data theft within the context of the user's session. This issue specifically affects browsers that support access keys because the malicious code is hidden within the page's structure.
Technical details
A Reflected Cross-Site Scripting (XSS) vulnerability exists in the VikBooking Hotel Booking Engine & PMS plugin for WordPress due to improper sanitization and escaping of the 'category_id' parameter. The vulnerability is located within the search view templates and input filtering logic. An unauthenticated remote attacker can exploit this by sending a crafted URL to a victim; if the victim clicks the link, arbitrary JavaScript can execute in their browser session. Notably, the injection occurs within a hidden element, meaning successful exploitation is limited to browsers that support 'access keys' to trigger the hidden payload. All versions up to and including 1.8.13 are affected.
Affected products
- e4jvikwp VikBooking Hotel Booking Engine & PMS up to, and including, 1.8.13
Timeline
- 2026-07-24: advisory: NVD publication date
References
- https://plugins.trac.wordpress.org/browser/vikbooking/tags/1.8.12/libraries/adapter/input/filter.php
- https://plugins.trac.wordpress.org/browser/vikbooking/tags/1.8.12/site/views/search/tmpl/default.php
- https://plugins.trac.wordpress.org/browser/vikbooking/tags/1.8.12/site/views/search/tmpl/default.php
- https://plugins.trac.wordpress.org/browser/vikbooking/tags/1.8.12/site/views/search/tmpl/default.php
- https://plugins.trac.wordpress.org/browser/vikbooking/tags/1.8.13/libraries/adapter/input/filter.php
- https://plugins.trac.wordpress.org/browser/vikbooking/tags/1.8.13/site/views/search/tmpl/default.php
- https://plugins.trac.wordpress.org/browser/vikbooking/tags/1.8.13/site/views/search/tmpl/default.php