Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-8541: The Discount Rules for WooCommerce – Create Smart WooCommerce Coupons & Discounts, Bulk Discount, BOGO Coupons

26
Routine
MEDIUM 4.7UPGRADE

CVE-2024-8541 is a medium-severity flaw (CVSS 4.7) affecting discount rules for woocommerce. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 administ

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score4.7 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionRequired
EPSS exploit chance0.4% (top 62%)
CISA exploited listNo
WeaknessCWE-79
Published2024-10-16
Last modified2026-06-17
Publisher (CNA): Wordfence · Vendor: flycart

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

flycart discount rules for woocommerce UPGRADE
Affected: <= 2.6.5
Fixed in: newer than 2.6.5
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy discount-rules-for-woocommerce || rpm -q discount-rules-for-woocommerce || discount-rules-for-woocommerce --version
2. UPGRADE to newer than 2.6.5 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade discount-rules-for-woocommerce
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade discount-rules-for-woocommerce
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-8541?

discount rules for woocommerce: upgrade to newer than 2.6.5. Exact commands for each OS are on this page.

Is CVE-2024-8541 being exploited?

CVE-2024-8541 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-8541 affect?

CVE-2024-8541 affects discount rules for woocommerce. Severity is medium (CVSS 4.7). 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

How urgent is CVE-2024-8541?

Priority 26/100. No elevated risk signals yet.

Software pages

WordPress vulnerabilities · WooCommerce vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.