Description
The WP Hotel Booking plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'widget_search' Shortcode Attribute in all versions up to, and including, 2.3.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is only exploitable on browsers where access keys can be used as the payload is stored in a hidden attribute.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
thimpress WP Hotel Booking
Default version status: unaffected
0 to ≤ 2.3.2affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9f3a4258-2f45-4617-a5ca-9b28835ef405?source=cve ↗
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.2/templates/search/search-form.php#L103 ↗
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.2/includes/shortcodes/class-wphb-shortcode-hotel-booking.php#L44 ↗
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3609563%40wp-hotel-booking&new=3609563%40wp-hotel-booking ↗