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.
Published: 2026-07-01
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Wed, 01 Jul 2026 11:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 01 Jul 2026 09:30:00 +0000

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.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-01T10:32:03.194Z

Reserved: 2026-06-19T19:29:52.724Z

Link: CVE-2026-12754

cve-icon Vulnrichment

Updated: 2026-07-01T10:30:21.607Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T13:00:15Z

Weaknesses
  • CWE-79

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