The plugin does not sanitize and escape Product Code when creating Product Shortcode, which could allow high privilege users to perform Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed
When creating a “New product shortcode” you can inject XSS payloads like <--![](
) --!> in the Product Code form field. When a page that includes that product’s shortcode is viewed by a visitor, the payload will execute.
CPE | Name | Operator | Version |
---|---|---|---|
bookingcom-product-helper | lt | 1.0.2 |