Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-12384 Overview
CVE-2024-12384 is a Reflected Cross-Site Scripting (XSS) vulnerability in the Binary MLM Woocommerce plugin for WordPress. The flaw exists in all versions up to and including 2.0. It stems from insufficient input sanitization and output escaping of the page parameter. Unauthenticated attackers can inject arbitrary web scripts that execute in a victim's browser when the victim clicks a crafted link. The issue is tracked under CWE-79 and was published to the National Vulnerability Database (NVD) on January 7, 2025.
Critical Impact
Successful exploitation allows attackers to execute arbitrary JavaScript in the context of an authenticated administrator's session, enabling session theft, privilege abuse, and further site compromise.
Affected Products
- Binary MLM Woocommerce plugin for WordPress (all versions ≤ 2.0)
- WordPress sites using the woo-binary-mlm plugin
- Administrative pages served by the plugin's payout, registration, and point setting modules
Discovery Timeline
- 2025-01-07 - CVE CVE-2024-12384 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-12384
Vulnerability Analysis
The Binary MLM Woocommerce plugin exposes several administrative pages that reflect the page query parameter back into the rendered HTML response. Because the plugin does not sanitize input or escape output for that parameter, attacker-supplied markup is echoed directly into the page. When an authenticated user follows a crafted URL, the injected script executes in the browser under the origin of the WordPress site.
Reflected XSS in an administrative context is particularly useful for attackers targeting site operators. Injected JavaScript can read session cookies where available, forge administrative requests, create backdoor accounts, or pivot to plugin and theme editors that lead to remote code execution.
Root Cause
The root cause is missing input validation and missing output encoding on the page request parameter within the plugin's admin scripts. Vulnerable references include includes/admin/payout/payout-report.php (lines 44 and 121) and includes/admin/register-first-user.php (line 82). See the payout-report.php reference and the register-first-user.php reference. The plugin author addressed related code in changeset 3418912.
Attack Vector
Exploitation requires user interaction. An attacker crafts a URL to a vulnerable admin endpoint on the target WordPress site, embedding a malicious payload in the page parameter. The attacker delivers the link through phishing, forum posts, or third-party sites. When an authenticated user clicks the link, the payload renders and executes in their browser, causing a scope change from the plugin context to the WordPress admin session.
Because no authentication is required to serve the reflected payload, any user who can be tricked into visiting the crafted URL can be victimized. Additional technical detail is available in the Wordfence Vulnerability Report.
Detection Methods for CVE-2024-12384
Indicators of Compromise
- Web server access logs containing requests to WordPress admin pages with page parameter values that include <script>, onerror=, javascript:, or URL-encoded equivalents such as %3Cscript%3E.
- Referrer headers to /wp-admin/admin.php originating from untrusted external domains combined with unusual page parameter contents.
- Unexpected creation of administrator accounts, plugin installations, or file modifications shortly after a reflected request against the woo-binary-mlm plugin.
Detection Strategies
- Deploy Web Application Firewall (WAF) rules that flag or block requests containing script-like payloads in the page query string against woo-binary-mlm admin endpoints.
- Correlate reflected request patterns with subsequent administrator actions from the same session or IP to identify successful exploitation.
- Perform authenticated dynamic scans against staging environments that fuzz the page parameter with common XSS vectors.
Monitoring Recommendations
- Continuously monitor WordPress audit logs for suspicious admin activity following external clicks to wp-admin URLs.
- Alert on outbound requests from browsers of administrative users to unfamiliar domains that could indicate cookie exfiltration.
- Track plugin version inventory to identify any WordPress sites still running woo-binary-mlm version 2.0 or earlier.
How to Mitigate CVE-2024-12384
Immediate Actions Required
- Update the Binary MLM Woocommerce plugin to a version later than 2.0 that includes the fix referenced in changeset 3418912.
- If no patched version is available for your environment, deactivate and remove the plugin until a fix is confirmed.
- Force password rotation and session invalidation for any administrator account that may have followed suspicious links referencing plugin admin pages.
Patch Information
The vendor addressed related code in the WordPress plugin repository. Review the WordPress Woo Binary MLM Changeset and upgrade to the latest available plugin release. Verify remediation by confirming that the page parameter is sanitized with WordPress functions such as sanitize_text_field() and escaped on output with esc_attr() or esc_html().
Workarounds
- Restrict access to /wp-admin/ by IP allowlist at the reverse proxy or WAF layer to reduce the attacker's ability to lure administrators into crafted URLs.
- Deploy a Content Security Policy (CSP) that disallows inline scripts on the WordPress admin interface to mitigate reflected script execution.
- Train administrators to avoid clicking wp-admin links received through untrusted channels.
# Configuration example: nginx rule blocking script-like payloads in the page parameter
location ~ ^/wp-admin/admin\.php$ {
if ($arg_page ~* "(<|%3C)\s*script|javascript:|onerror=") {
return 403;
}
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

