CVE-2024-8541: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in flycart Discount Rules for WooCommerce
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.
AI Analysis
Technical Summary
The Discount Rules for WooCommerce plugin suffers from a reflected XSS vulnerability due to improper neutralization of input in URL parameters handled by add_query_arg without appropriate escaping. This flaw allows unauthenticated attackers to craft URLs that inject malicious scripts, which execute if an administrator interacts with the link while the 'Leave a Review' notice is active. The vulnerability is limited by the condition that the notice must be present, which only occurs after 100 orders and until dismissed. No known exploits are reported in the wild, and no official patch has been published as of the data provided.
Potential Impact
Successful exploitation can lead to the execution of arbitrary scripts in the context of an administrator's browser session, potentially allowing theft of credentials, session hijacking, or unauthorized actions within the affected WordPress site. However, exploitation requires user interaction and the presence of a specific UI element ('Leave a Review' notice), limiting the attack surface. The vulnerability does not impact availability and has a medium severity rating.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should consider dismissing the 'Leave a Review' notice to remove the attack vector and avoid clicking on untrusted links related to the plugin. Monitoring for updates from flycart regarding a security patch is recommended.
CVE-2024-8541: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in flycart Discount Rules for WooCommerce
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Discount Rules for WooCommerce plugin suffers from a reflected XSS vulnerability due to improper neutralization of input in URL parameters handled by add_query_arg without appropriate escaping. This flaw allows unauthenticated attackers to craft URLs that inject malicious scripts, which execute if an administrator interacts with the link while the 'Leave a Review' notice is active. The vulnerability is limited by the condition that the notice must be present, which only occurs after 100 orders and until dismissed. No known exploits are reported in the wild, and no official patch has been published as of the data provided.
Potential Impact
Successful exploitation can lead to the execution of arbitrary scripts in the context of an administrator's browser session, potentially allowing theft of credentials, session hijacking, or unauthorized actions within the affected WordPress site. However, exploitation requires user interaction and the presence of a specific UI element ('Leave a Review' notice), limiting the attack surface. The vulnerability does not impact availability and has a medium severity rating.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should consider dismissing the 'Leave a Review' notice to remove the attack vector and avoid clicking on untrusted links related to the plugin. Monitoring for updates from flycart regarding a security patch is recommended.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-09-06T18:28:20.243Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6c2cb7ef31ef0b560bef
Added to database: 2/25/2026, 9:39:56 PM
Last enriched: 4/9/2026, 3:13:25 PM
Last updated: 4/12/2026, 9:28:42 AM
Views: 15
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.