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-12438 Overview
CVE-2024-12438 is a Reflected Cross-Site Scripting (XSS) vulnerability [CWE-79] in the WooCommerce Digital Content Delivery (incl. DRM) – FlickRocket plugin for WordPress. The flaw affects all plugin versions up to and including 4.75. Unauthenticated attackers can inject arbitrary web scripts via the start_date and end_date request parameters because the plugin fails to sanitize input and escape output. Execution requires a victim to click a crafted link, after which the injected script runs in the browser context of the targeted WordPress user.
Critical Impact
Successful exploitation enables script execution in an authenticated administrator's browser, which can lead to session theft, forced actions, and content modification on the target WordPress site.
Affected Products
- WordPress plugin: WooCommerce Digital Content Delivery (incl. DRM) – FlickRocket
- All versions up to and including 4.75
- WordPress sites running WooCommerce with this plugin installed
Discovery Timeline
- 2025-01-07 - CVE-2024-12438 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-12438
Vulnerability Analysis
The vulnerability resides in the FlickRocket plugin's handling of the start_date and end_date HTTP request parameters. The plugin reflects the values of these parameters back into rendered HTML without sufficient sanitization or output escaping. An unauthenticated attacker can craft a URL containing malicious JavaScript in either parameter and deliver it through phishing, forum posts, or malicious ads. When the victim visits the link, the injected payload executes in their browser session on the affected WordPress site.
The attack requires user interaction, which limits automated mass exploitation. However, administrators are high-value targets because a successful script execution runs with their session privileges. Payloads can perform actions such as creating new admin accounts, exfiltrating cookies, modifying plugin settings, or planting persistent backdoors through the WordPress REST API.
Root Cause
The root cause is improper neutralization of user-supplied input during web page generation [CWE-79]. The plugin accepts the start_date and end_date parameters and inserts their contents into the HTML response without applying WordPress escaping functions such as esc_attr(), esc_html(), or sanitize_text_field(). Affected code paths are referenced in the plugin source file woocommerce-flickrocket.php at lines 613, 614, 629, 632, 655, and 658 via the WordPress Plugin Trac browser.
Attack Vector
The attack vector is network-based and requires user interaction. An attacker builds a URL targeting a vulnerable plugin endpoint, embedding a JavaScript payload in the start_date or end_date query string parameter. The attacker distributes the URL through email, chat, or web content. When a WordPress user, especially an administrator, clicks the link, the plugin renders the payload into the response page and the browser executes it under the site's origin. Because the vulnerability is reflected and unauthenticated, no prior access to the site is required to generate the malicious link.
Refer to the Wordfence Vulnerability Database Entry for additional technical details.
Detection Methods for CVE-2024-12438
Indicators of Compromise
- Web server access logs containing requests with start_date or end_date parameters that include characters such as <, >, script, onerror, onload, or URL-encoded equivalents (%3C, %3E).
- Unexpected administrator account creation, plugin installation, or theme modification events in WordPress audit logs following administrator clicks on external links.
- HTTP referrer headers pointing to untrusted domains preceding administrative actions on the WordPress site.
Detection Strategies
- Inspect web application firewall (WAF) logs for query strings containing script tags or JavaScript event handlers targeting FlickRocket plugin endpoints.
- Deploy signature-based rules that flag reflected input containing HTML tags in the start_date and end_date parameters.
- Review WordPress activity logs for session anomalies such as administrator actions originating from unusual IP addresses shortly after a reflected request.
Monitoring Recommendations
- Enable verbose HTTP request logging on the WordPress host and forward logs to a centralized analytics platform for correlation.
- Monitor browser-side Content Security Policy (CSP) violation reports if CSP headers are deployed on the site.
- Alert on outbound requests from administrator browsers to unknown domains that could indicate cookie exfiltration via injected scripts.
How to Mitigate CVE-2024-12438
Immediate Actions Required
- Update the WooCommerce Digital Content Delivery (incl. DRM) – FlickRocket plugin to a version later than 4.75 that includes the fix from WordPress Changeset #3219517.
- If an updated version is not yet available, deactivate and remove the plugin from affected WordPress installations.
- Rotate administrator credentials and invalidate active WordPress sessions if the vulnerable version has been exposed.
Patch Information
The vendor addressed the vulnerability in WordPress Changeset #3219517. The fix applies proper input sanitization and output escaping to the start_date and end_date parameters. Administrators should install the latest version from the WordPress plugin repository and verify the plugin version is greater than 4.75 after the update.
Workarounds
- Deploy a web application firewall (WAF) rule that blocks HTTP requests where start_date or end_date parameters contain HTML special characters or script keywords.
- Enforce a strict Content Security Policy (CSP) on the WordPress site to limit inline script execution and reduce the impact of reflected injection.
- Train administrators and editors to avoid clicking unsolicited links that target the WordPress admin domain, especially those containing date-range parameters.
# Example ModSecurity rule to block script content in vulnerable parameters
SecRule ARGS:start_date|ARGS:end_date "@rx (?i)(<script|onerror=|onload=|javascript:)" \
"id:1012438,phase:2,deny,status:403,msg:'CVE-2024-12438 FlickRocket XSS attempt blocked'"
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

