CVE-2024-8541
WordPress vulnerability analysis and mitigation

Overview

The Discount Rules for WooCommerce plugin (versions up to 2.6.5) contains a Reflected Cross-Site Scripting vulnerability due to improper URL escaping. The vulnerability was discovered and disclosed on October 15, 2024, affecting the plugin's 'Leave a Review' notice functionality (NVD Database).

Technical details

The vulnerability stems from improper use of add_query_arg without appropriate URL escaping in the plugin's review notice component. This vulnerability is specifically tied to the 'Leave a Review' notice that appears after 100 orders are made and remains until dismissed by a user. The severity is rated as MEDIUM with a CVSS v3.1 base score of 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) according to NVD's assessment (NVD Database).

Impact

If successfully exploited, this vulnerability allows unauthenticated attackers to inject arbitrary web scripts that execute when site administrators click on specially crafted links. The impact is limited to scenarios where the 'Leave a Review' notice is active (NVD Database).

Exploitability

The vulnerability requires user interaction and is only exploitable when the 'Leave a Review' notice is present (which appears after 100 orders and disappears after dismissal). An attacker would need to trick a site administrator into clicking a malicious link to execute the attack (NVD Database).

Mitigation and workarounds

The vulnerability has been patched in version 2.6.5 of the Discount Rules for WooCommerce plugin. Site administrators are advised to update to this version or later to mitigate the risk (NVD Database).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-78570CRITICAL9.8
  • totaldonations
NoNoAug 25, 2026
CVE-2026-78568CRITICAL9.8
  • totaldonations
NoNoAug 25, 2026
CVE-2026-78572HIGH8.1
  • kalles-addons
NoNoAug 25, 2026
CVE-2026-78576HIGH7.5
  • readabler
NoYesAug 25, 2026
CVE-2026-76128MEDIUM6.4
  • ecommerce-product-catalog
NoYesAug 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management