# VikBooking Hotel Booking Engine & PMS <= 1.8.18 - Unauthenticated Stored Cross-Site Scripting via Terms of Service Custom Field

- **ID:** WPSEC-2026-1763
- **Plugin:** VikBooking Hotel Booking Engine & PMS (`vikbooking`), https://wordpress.org/plugins/vikbooking/
- **Affected versions:** from 1.5.11 before 1.8.19
- **Fixed in:** 1.8.19 (Update to 1.8.19 or later.)
- **Severity:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-10-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/vikbooking
- **Fix released:** 2026-10-26
- **Published:** 2026-10-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1763/

## Description

The VikBooking Hotel Booking Engine & PMS plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Terms of Service custom field saving task ('customf.savetosajax') in versions 1.5.11 up to, and including, 1.8.18. This is due to a missing capability and admin-context check on the task, which updates the name and pop-up link of any custom field and can be reached from the front end, protected only by a form token that the plugin prints on public pages. The custom field names and links are also not escaped on output on the booking confirmation and room details request-information pages. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute whenever a user accesses an affected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-1763/
- https://plugins.svn.wordpress.org/vikbooking/tags/1.8.19/
- https://wordpress.org/plugins/vikbooking/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1763/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
