CVE-2026-132623
WP Hotel Booking に報告された脆弱性
概要
The WP Hotel Booking plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'thimpress_hotel_booking_1 (JSON cart cookie; attacker payload lives in the child item's `id` field)' parameter in all versions up to, and including, 2.3.6 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit is possible because the legacy unsigned cookie branch requires no signature verification, the guest-checkout nonce is publicly available on the checkout page, and guest checkout is enabled by default — meaning any unauthenticated visitor can submit a crafted cart cookie through the standard AJAX checkout flow.
影響を受けるバージョン
- 0以上 〜 2.3.6以下
対処方法
WP Hotel Booking を 2.3.7 以降に更新してください。これで本脆弱性は解消します。
あなたのサイトは大丈夫ですか?
URLを入力するだけで、実際に使われているプラグインを検出し、 このデータベースと突き合わせて既知の脆弱性が残っていないかを確認できます。登録不要・無料です。
30秒で無料診断する参照
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.5/includes/booking/class-wphb-booking.php#L383
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.5/includes/cart/class-wphb-cart.php#L820
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.5/includes/class-wphb-sessions.php#L134
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.5/includes/plugins/wp-hotel-booking-extra/inc/class-wphb-extra-cart.php#L489
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.5/includes/products/class-wphb-product-room.php#L117
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3839018%40wp-hotel-booking&new=3839018%40wp-hotel-booking
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7344d4b1-7bc5-46a7-8a5f-0ad8538d43f3?source=cve