What the vulnerability does
01Description
The VikBooking Hotel Booking Engine & PMS plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'layoutstyle' parameter in all versions up to, and including, 1.8.12 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Exploitation requires the targeted page to render the [vikbooking view="roomslist"] shortcode, as the vulnerable layoutstyle parameter is only processed in that view context.
Explanation of Vulnerability in Simple Terms
02Summary
VikBooking Hotel Booking Engine & PMS versions 1.8.12 and earlier contain a cross-site scripting (XSS) vulnerability. An attacker can inject malicious scripts that execute in visitors' browsers when they interact with the booking interface. The vulnerability requires user interaction and can affect multiple users across the site. Update to a version newer than 1.8.12 to remediate.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in visitors' browsers, stealing session cookies or redirecting users to phishing sites.
Potential impact on your site
04Site Impact
Hotel guests and staff may have sessions hijacked, credentials stolen, or be redirected to fraudulent payment pages.
Conditions required to exploit
05Prerequisites
No authentication required. Victim must click a malicious link or visit a compromised booking page.
Key dates
06Disclosure timeline
July 1, 2026
CVE published