CVE-2024-11327 Overview
CVE-2024-11327 is a Reflected Cross-Site Scripting (XSS) vulnerability in the ClickWhale WordPress plugin by Flowdee. The plugin, marketed as a Link Manager, Link Shortener, and Click Tracker for affiliate links, improperly uses add_query_arg and remove_query_arg without escaping the URL. All versions up to and including 2.4.1 are affected. Unauthenticated attackers can inject arbitrary web scripts that execute when a victim clicks a crafted link. The flaw is tracked under CWE-79 and documented in the Wordfence Vulnerability Report.
Critical Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary JavaScript in a victim's browser session, potentially leading to session theft, administrative action hijacking, or redirection to malicious infrastructure.
Affected Products
- Flowdee ClickWhale – Link Manager, Link Shortener and Click Tracker plugin for WordPress
- All versions up to and including 2.4.1
- WordPress sites running the vulnerable plugin configuration
Discovery Timeline
- 2025-01-11 - CVE-2024-11327 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-11327
Vulnerability Analysis
The vulnerability is a Reflected Cross-Site Scripting flaw in the ClickWhale plugin's administrative link listing component. The plugin passes attacker-controllable URL parameters through the WordPress helper functions add_query_arg() and remove_query_arg() and then renders the resulting URL back into the page without escaping. Because the output is not sanitized with a function such as esc_url(), malicious payloads embedded in the current request URL are reflected into the HTML response. This behavior is visible in the plugin source referenced by Wordfence at includes/admin/links/Clickwhale_Links_List_Table.php line 384, documented in the WordPress Plugin Code Reference.
Root Cause
The root cause is improper neutralization of input during web page generation [CWE-79]. WordPress documentation explicitly warns that the return value of add_query_arg() and remove_query_arg() is not escaped. Developers must wrap it in esc_url() before echoing it. ClickWhale omits that escaping, allowing script content supplied in request parameters to flow directly into attributes rendered by the admin links list table.
Attack Vector
Exploitation requires an unauthenticated attacker to craft a URL containing a malicious payload in a query parameter processed by the vulnerable code path. The attacker then convinces an authenticated WordPress user, typically an administrator viewing the ClickWhale admin page, to click the link. When the targeted user visits the URL, the reflected payload executes in the browser under the WordPress site origin. The injected JavaScript inherits the victim's privileges and can perform actions such as creating new administrator accounts, exfiltrating session cookies, or modifying plugin configuration.
No verified public exploit code is available for this issue. See the Wordfence Vulnerability Report for additional context.
Detection Methods for CVE-2024-11327
Indicators of Compromise
- Web server access logs containing requests to wp-admin pages with ClickWhale parameters embedded with <script>, javascript:, onerror=, or URL-encoded equivalents such as %3Cscript%3E.
- Unexpected administrator account creation, plugin configuration changes, or new outbound links shortly after an admin user clicks an inbound link.
- Referrer headers pointing to untrusted domains preceding suspicious administrative activity in WordPress audit logs.
Detection Strategies
- Inspect HTTP request logs for ClickWhale admin endpoints receiving query parameters containing script tags, event handlers, or encoded HTML.
- Deploy a web application firewall rule that blocks reflected XSS payloads targeting wp-admin pages belonging to the clickwhale plugin.
- Review the installed plugin version against 2.4.1; any site running that version or earlier should be considered vulnerable.
Monitoring Recommendations
- Enable WordPress audit logging to capture administrator session activity, plugin configuration changes, and user role modifications.
- Monitor browser error reports and Content Security Policy violation reports for script executions on wp-admin origins.
- Correlate inbound email and messaging platform URLs targeting administrators with subsequent authenticated activity on the WordPress host.
How to Mitigate CVE-2024-11327
Immediate Actions Required
- Update the ClickWhale plugin to a version later than 2.4.1 as soon as a patched release is available from the vendor.
- Audit WordPress administrator accounts and recently created users for signs of unauthorized changes.
- Instruct administrators to avoid clicking links to the WordPress admin interface from untrusted sources until the plugin is updated.
Patch Information
The vendor committed changes to the plugin repository referenced in the WordPress Plugin Change Log. Administrators should install the latest ClickWhale release from the WordPress plugin directory and verify the installed version in the WordPress admin console.
Workarounds
- Temporarily deactivate the ClickWhale plugin until an updated version is installed.
- Deploy a web application firewall policy that filters requests containing script tags or JavaScript event handlers directed at wp-admin pages.
- Enforce a strict Content Security Policy on the WordPress admin interface to limit inline script execution in the event of reflected injection.
# Example WordPress CLI commands to check and update the plugin
wp plugin get clickwhale --field=version
wp plugin update clickwhale
wp plugin deactivate clickwhale # if no patched version is yet available
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

