# CVE-2024-8541: Discount Rules for WooCommerce – Create Smart WooCommerce Coupons & Discounts, Bulk Discount, BOGO Coupons <= 2.6.5 - Reflected Cross-Site Scripting

- Severity: Medium 4.7 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-02)
- Published: 2024-10-16T02:05:01.072Z
- Modified: 2026-06-17T08:22:49.410Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- flycart Discount Rules for WooCommerce: up to 2.6.5
- flycart discount_rules_for_woocommerce: up to 2.6.5

## Every score

- Wordfence: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/3529044f-c3d8-4370-8ba5-9df0fb71ab3c?source=cve> (third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset/3149013/> (patch)
- <https://plugins.trac.wordpress.org/browser/woo-discount-rules/tags/2.6.5/v2/App/Views/Admin/review-notice.php> (product)

## Sources

- CVE List: [CVE-2024-8541](https://www.cve.org/CVERecord?id=CVE-2024-8541), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-8541](https://nvd.nist.gov/vuln/detail/CVE-2024-8541), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-8541 · Whole record: https://cve.day/CVE-2024-8541.json · Rebuilt by cve.day 2026-11-25T22:58:46.812Z
