Shipping Zones by Drawing for WooCommerceに管理画面でスクリプトが実行される脆弱性
Summary
未認証の攻撃者が、注文時に細工したデータを送信することで、WooCommerceの管理画面で任意のスクリプトが実行される恐れがあります。影響を受けるのは3.3.0以前のバージョンです。管理者が悪用された注文画面を開くと実行されるため、利用している場合は最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
未認証の攻撃者が、注文時に細工したデータを送信することで、WooCommerceの管理画面で任意のスクリプトが実行される恐れがあります。影響を受けるのは3.3.0以前のバージョンです。管理者が悪用された注文画面を開くと実行されるため、利用している場合は最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| arosoftShipping Zones by Drawing for WooCommerce |
≤ 3.3.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
The Shipping Zones by Drawing for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'szbd-picked' checkout parameter in versions up to, and including, 3.3.0 The szbd_checkout_field_update_order_meta() handler stores stripslashes(sanitize_text_field($_POST['szbd-picked'])) in order meta without validating the JSON structure or restricting dangerous characters, and the szbd_show_checkout_field_admin_order_meta() handler later concatenates the decoded lat and lng values directly into a double-quoted href attribute without esc_url() or esc_attr(). This makes it possible for unauthenticated attackers, by submitting an ordinary guest-checkout order with a crafted szbd-picked JSON payload, to inject arbitrary attributes (such as onmouseover) onto the Google Maps link in the WooCommerce admin order view that will execute whenever an administrator accesses an injected order.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory