CVE-2026-12754
Received Received - Intake

Reflected XSS in VikBooking Hotel Booking Engine & PMS for WordPress

Vulnerability report for CVE-2026-12754, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-01

Last updated on: 2026-07-01

Assigner: Wordfence

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-01
Last Modified
2026-07-01
Generated
2026-07-01
AI Q&A
2026-07-01
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
vikbooking hotel_booking_engine to 1.8.12 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The VikBooking Hotel Booking Engine & PMS plugin for WordPress has a Reflected Cross-Site Scripting (XSS) vulnerability in the 'layoutstyle' parameter. This vulnerability exists in all versions up to and including 1.8.12 because the plugin does not properly sanitize input or escape output for this parameter.

An unauthenticated attacker can exploit this by injecting malicious web scripts into pages that use the [vikbooking view="roomslist"] shortcode, where the 'layoutstyle' parameter is processed. If a user is tricked into clicking a crafted link, the injected script executes in their browser.

Impact Analysis

This vulnerability can allow attackers to execute arbitrary scripts in the context of the affected website when a user interacts with a maliciously crafted link. This can lead to theft of user credentials, session hijacking, defacement, or other malicious actions performed on behalf of the user.

Detection Guidance

This vulnerability involves the 'layoutstyle' parameter in the VikBooking plugin's roomslist view shortcode being vulnerable to reflected Cross-Site Scripting (XSS). Detection involves identifying if your WordPress site uses the VikBooking Hotel Booking Engine & PMS plugin version 1.8.12 or earlier and if the vulnerable shortcode [vikbooking view="roomslist"] is rendered.

To detect attempts to exploit this vulnerability on your network or system, you can monitor HTTP requests for suspicious input in the 'layoutstyle' parameter, especially those containing script tags or encoded JavaScript.

  • Use web server logs or a network monitoring tool to search for requests with 'layoutstyle' parameters containing suspicious payloads, e.g., grep 'layoutstyle' access.log | grep -i '<script>'
  • Use curl or similar tools to test the parameter manually, for example: curl -G 'http://yourwordpresssite.com/page?layoutstyle=<script>alert(1)</script>' and observe if the script executes or is reflected in the response.
  • Employ security scanners or web application firewalls (WAFs) that can detect reflected XSS patterns targeting the 'layoutstyle' parameter.
Mitigation Strategies

Immediate mitigation steps include updating the VikBooking Hotel Booking Engine & PMS plugin to a version later than 1.8.12 where this vulnerability is fixed.

If an update is not immediately possible, consider disabling or removing the use of the [vikbooking view="roomslist"] shortcode on your site to prevent the vulnerable parameter from being processed.

Implement Web Application Firewall (WAF) rules to block or sanitize requests containing malicious input in the 'layoutstyle' parameter.

Educate users to avoid clicking on suspicious links that could exploit this reflected XSS vulnerability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-12754. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart