WP Hotel Booking <= 2.3.6 - 認証不要の保存型クロスサイトスクリプティング(ゲストチェックアウトカートクッキー経由)
元情報の公開:2026-12-02 18:14:55 / 更新:2026-12-02 18:14:55(UTC)
日本語訳
WordPress 用の WP Hotel Booking プラグインは、入力のサニタイズと出力のエスケープが不十分なため、バージョン 2.3.6 を含むそれ以前のすべてのバージョンにおいて、'thimpress_hotel_booking_1(JSON カートクッキー;攻撃者のペイロードは子アイテムの `id` フィールドに格納される)' パラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。これにより、認証不要な攻撃者が任意のウェブスクリプトをページに注入でき、ユーザーがそのページにアクセスした際にスクリプトが実行されます。
この脆弱性が悪用可能なのは、従来の署名なしクッキー方式が署名検証を必要とせず、ゲストチェックアウト用の nonce がチェックアウトページで公開されており、さらにゲストチェックアウトがデフォルトで有効になっているためです。つまり、認証されていない訪問者でも標準の AJAX チェックアウトフローを通じて細工されたカートクッキーを送信できてしまいます。
原文(英語)
WP Hotel Booking <= 2.3.6 - Unauthenticated Stored Cross-Site Scripting via Guest Checkout Cart Cookie
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.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。