WP Hotel Booking <= 2.0.8 - Insufficient Authorization to Unauthorized Post Deletion

Incorrect Authorization
CVE CVE-2023-5799
CVSS Medium (4.3)
Publicly Published October 26, 2023
Last Updated January 22, 2024
Researcher Erwan LR
Description

The WP Hotel Booking plugin for WordPress is vulnerable to unauthorized modification of data due to insufficient authorization checks on the tp_extra_package_remove() function hooked via AJAX in all versions up to, and including, 2.0.7. This makes it possible for authenticated attackers, with contributor-level access and above, to delete arbitrary posts. While the patch for CVE-2023-5651 ensured subscriber-level users couldn't delete arbitrary posts, the checks were not sufficient in preventing higher authenticated users such as contributors from deleting arbitrary posts.

References

1 affected software package

Software Type Plugin
Software Slug wp-hotel-booking (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 2.0.8
Patched Version
  • 2.0.9
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.