vulnerability

WordPress Plugin: woo-discount-rules: CVE-2024-8541: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Severity
4
CVSS
(AV:N/AC:H/Au:N/C:P/I:P/A:N)
Published
Oct 15, 2024
Added
May 15, 2025
Modified
Jun 24, 2025

Description

The Discount Rules for WooCommerce – Create Smart WooCommerce Coupons and Discounts, Bulk Discount, BOGO Coupons plugin for WordPress is vulnerable to Reflected Cross-Site Scripting due to the use of add_query_arg without appropriate escaping on the URL in all versions up to, and including, 2.6.5. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a site administrator into performing an action such as clicking on a link. Please note that this is only exploitable when the 'Leave a Review' notice is present, which occurs after 100 orders are made and disappears after a user dismisses the notice.

Solution

woo-discount-rules-plugin-cve-2024-8541
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.