Plugins · woo-discount-rules · data as of 2026-11-29
Is Discount Rules for WooCommerce safe? Known vulnerabilities and latest version
- 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
- 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”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- 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.
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
Recent activity
- 2026-09-17 — latest release on wordpress.org (2.6.18).
- 2024-10-16 — Missing authorization check disclosed (CVE-2020-36834), fixed in 2.1.0.
- 2024-10-16 — Reflected cross-site scripting (XSS) disclosed (CVE-2024-8541), fixed in 2.6.6.
- 2022-07-17 — Reflected cross-site scripting (XSS) disclosed (CVE-2022-2090), fixed in 2.4.2.
Get an email when Discount Rules for WooCommerce has a new vulnerability
Free. One email when a new Discount Rules for WooCommerce issue is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
- Published this week
- Unpatched in the latest version
- By type of vulnerability
- Closed on wordpress.org
- Check your whole plugin list
Types found in this plugin: Cross-site scripting (XSS) (2) · Missing authorization (1)
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
- Version, last update, installs: wordpress.org/plugins/woo-discount-rules (Plugins API), fetched 2026-11-29.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-29. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- We list a CVE only when its references or advisory name this exact plugin, so a few real issues may be missing. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<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>