Skip to content
Laskyr

Plugins · woo-discount-rules · data as of 2026-11-29

Is Discount Rules for WooCommerce safe? Known vulnerabilities and latest version

No known unpatched vulnerabilities in the latest version (2.6.18)

As of 2026-11-29. 3 issues are on record for older versions; version 2.6.6 or newer fixes all of them that state a fix.

Latest version
2.6.18
Last updated
2026-09-17
Active installs
100,000+
Known issues on record
3
Unpatched in latest
0
Tested up to WP
7.1.5

The discount plugin for WooCommerce helps you create bulk discount, quantity discount, storewide sale, dynamic pricing discount offers easily. — by flycart

What to do

  1. Update to the latest version (2.6.18). Anything older than 2.6.6 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan. Already hacked? We clean it for a flat $499 with a 30-day reinfection guarantee.

With WP-CLI: wp plugin get woo-discount-rules --field=version shows what you run; wp plugin update woo-discount-rules updates it.

Check your version

Running more than one plugin? Paste your whole plugin list and check them all at once.

Known vulnerabilities

3 on record, newest first. Versions come from the source; * marks the first wordpress.org release after the last affected version.

medium 6.3 CVE-2020-36834 · published 2024-10-16

Missing authorization check in Discount Rules for WooCommerce (2.0.2 and older)

Affected
2.0.2 and older
Fixed in
2.1.0 *
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber)
Range from
CVE record · score by Wordfence
Details from the advisory

The Discount Rules for WooCommerce plugin for WordPress is vulnerable to missing authorization via several AJAX actions in versions up to, and including, 2.0.2 due to missing capability checks on various functions. This makes it possible for subscriber-level attackers to execute various actions and perform a wide variety of actions such as modifying rules and saving configurations.

NVD CVE-2020-36834Wordfence advisoryPatchstack advisory

medium 6.1 CVE-2024-8541 · published 2024-10-16

Reflected cross-site scripting (XSS) in Discount Rules for WooCommerce (2.6.5 and older)

Affected
2.6.5 and older
Fixed in
2.6.6 *
Access needed (per CVSS)
No login needed; someone on the site has to click a link or open a page
Range from
CVE record · score by NVD
Details from the advisory

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.

NVD CVE-2024-8541Wordfence advisoryCode change (fix)Plugin source

medium 6.1 CVE-2022-2090 · published 2022-07-17

Reflected cross-site scripting (XSS) in Discount Rules for WooCommerce (older than 2.4.2)

Affected
older than 2.4.2
Fixed in
2.4.2
Access needed (per CVSS)
No login needed; someone on the site has to click a link or open a page
Range from
advisory text · score by NVD
Details from the advisory

The Discount Rules for WooCommerce WordPress plugin before 2.4.2 does not escape a parameter before outputting it back in an attribute of the plugin's discount rule page, leading to Reflected Cross-Site Scripting

NVD CVE-2022-2090WPScan advisory

Recent activity

Browse vulnerabilities

Questions about Discount Rules for WooCommerce

Is Discount Rules for WooCommerce safe to use?

No known unpatched vulnerabilities in the latest version (2.6.18). As of 2026-11-29. 3 issues are on record for older versions; version 2.6.6 or newer fixes all of them that state a fix. Laskyr does not give safety verdicts. Keep Discount Rules for WooCommerce on the latest version (2.6.18) and remove it if you do not use it.

Which versions of Discount Rules for WooCommerce are vulnerable?

Known issues on record (newest first): Missing authorization check (2.0.2 and older, fixed in 2.1.0); Reflected cross-site scripting (XSS) (2.6.5 and older, fixed in 2.6.6); Reflected cross-site scripting (XSS) (older than 2.4.2, fixed in 2.4.2). The full list with sources is on this page.

What is the latest version of Discount Rules for WooCommerce?

2.6.18, according to wordpress.org (last updated 2026-09-17). It has 100,000+ active installs.

What should I do if my Discount Rules for WooCommerce is out of date?

Take a backup, then update it from Dashboard > Updates (or run wp plugin update woo-discount-rules). If you cannot update right away, deactivate it until you can. If you think the site was already attacked, run a free scan at https://laskyr.com/scan.

Where this data comes from

Badge for your site or docs (states facts with a date, not a verdict):
Discount Rules for WooCommerce vulnerability status badge
<a href="https://laskyr.com/plugins/woo-discount-rules"><img src="https://laskyr.com/plugins/woo-discount-rules/badge.svg" alt="Discount Rules for WooCommerce vulnerability status"></a>

← Check another plugin · Free hacked-site scan

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit

The box is optional and does not affect the kit. Privacy policy.