Vulnerability Description
The Discount Rules for WooCommerce – Create Smart WooCommerce Coupons & 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Flycart | Discount Rules For Woocommerce | <= 2.6.5 |
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/woo-discount-rules/tags/2.6.5/v2/App/Product
- https://plugins.trac.wordpress.org/changeset/3149013/Patch
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3529044f-c3d8-4370-8baThird Party Advisory
FAQ
What is CVE-2024-8541?
CVE-2024-8541 is a vulnerability with a CVSS score of 4.7 (MEDIUM). The Discount Rules for WooCommerce – Create Smart WooCommerce Coupons & Discounts, Bulk Discount, BOGO Coupons plugin for WordPress is vulnerable to Reflected Cross-Site Scripting due to the use of ad...
How severe is CVE-2024-8541?
CVE-2024-8541 has been rated MEDIUM with a CVSS base score of 4.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-8541?
Check the references section above for vendor advisories and patch information. Affected products include: Flycart Discount Rules For Woocommerce.