CVE-2026-12754

VikBooking Hotel Booking Engine & PMS <= 1.8.12 - Reflected Cross-Site Scripting via 'layoutstyle' Parameter

Published Jul 1, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The VikBooking Hotel Booking Engine & PMS plugin is vulnerable to a reflected cross‑site scripting flaw exposed through the "layoutstyle" query parameter. Untrusted input is neither sanitized nor correctly escaped when rendering the [vikbooking view="roomslist"] shortcode, permitting attackers to inject arbitrary scripts that execute in the victim’s browser. This can lead to credential theft, defacement, or session hijacking as the script runs with the victim’s privileges.

Affected Systems

WordPress sites running the VikBooking Hotel Booking Engine & PMS plugin version 1.8.12 or earlier, supplied by the vendor e4jvikwp. The vulnerability exists only in those affected releases and is triggered when the page displays the rooms list view. No later versions are mentioned as affected.

Risk and Exploitability

The CVSS score of 6.1 indicates a moderate severity for this XSS issue. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting it has not yet been widely exploited. Exploitation is remote, unauthenticated, and relies on a victim being tricked into visiting a crafted URL that includes a malicious "layoutstyle" value. Once the page loads, the attacker’s script runs in the victim’s browser, enabling a range of client‑side attacks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the VikBooking plugin to the latest available version (≥ 1.8.13) to remove the vulnerability.
  • Sanitize and properly escape the "layoutstyle" parameter on all input paths and ensure that output encoding is applied when rendering the rooms list view.
  • Implement a strong Content Security Policy that limits script sources and mitigates the impact of any remaining XSS vectors.

Generated by OpenCVE AI on July 1, 2026 at 12:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title VikBooking Hotel Booking Engine & PMS <= 1.8.12 - Reflected Cross-Site Scripting via 'layoutstyle' Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jul 1, 2026, 10:32 AM
Reserved
Jun 19, 2026, 7:29 PM
Status
Deferred
Published
Jul 1, 2026, 10:16 AM
Modified
Jul 1, 2026, 1:56 PM