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-10646 Overview
CVE-2024-10646 is a stored Cross-Site Scripting (XSS) vulnerability [CWE-79] in the Fluent Forms Contact Form plugin for WordPress. The flaw affects all versions up to and including 5.2.3, with the fix shipped in version 5.2.4. The vulnerability resides in the form's subject parameter, which lacks proper input sanitization and output escaping. Unauthenticated attackers can inject arbitrary JavaScript that executes in the browser of any user who later views an affected page.
Critical Impact
Unauthenticated attackers can inject persistent JavaScript into WordPress sites running vulnerable Fluent Forms installations, enabling session theft, administrative account takeover, and redirection to malicious infrastructure.
Affected Products
- Fluent Forms Contact Form plugin for WordPress — all versions through 5.2.3
- WordPress sites exposing Fluent Forms form submission endpoints
- Any administrator or user session rendering stored form data in the WordPress admin
Discovery Timeline
- 2024-12-14 - CVE-2024-10646 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-10646
Vulnerability Analysis
The vulnerability is a stored XSS flaw in the Fluent Forms plugin, a widely deployed WordPress form builder. User-supplied input to the subject parameter of a form submission is persisted without adequate sanitization and rendered without proper output escaping. When administrators or other users subsequently view the stored submission in the WordPress backend or on affected pages, the injected script executes in the context of the victim's browser session.
Stored XSS in WordPress plugin surfaces is particularly consequential because form submission data is routinely reviewed by privileged users. A successful payload can hijack administrator sessions, create new privileged accounts, or inject supply-chain style modifications into site content.
Root Cause
The root cause is missing input sanitization and missing output escaping on the subject field processed within the plugin's form handling logic in boot/globals.php. The vendor fix in WordPress Changeset #3203147 adds appropriate escaping before the value is written back into HTML contexts.
Attack Vector
An unauthenticated attacker submits a crafted form entry to a WordPress site running a vulnerable Fluent Forms version. The payload is placed in the form's subject parameter and contains JavaScript wrapped in an HTML sink such as a <script> tag or an event handler attribute. The injected content is stored by the plugin and later rendered to viewers, where the browser interprets it as executable script in the site's origin. User interaction is required for exploitation, as reflected by the CVSS vector component UI:R.
No public proof-of-concept exploit is listed for this issue, and it is not present on the CISA Known Exploited Vulnerabilities catalog. Technical details are available in the Wordfence Vulnerability Report.
Detection Methods for CVE-2024-10646
Indicators of Compromise
- Fluent Forms entries containing HTML tags such as <script>, <img onerror=, or <svg onload= within the subject field.
- Unexpected outbound requests from administrator browsers to attacker-controlled domains shortly after viewing form submissions.
- Creation of new WordPress administrator accounts or modification of user roles without a corresponding administrator action.
- Unexpected modifications to WordPress options, theme files, or plugin files following administrator sessions.
Detection Strategies
- Query the wp_fluentform_submissions table for submissions whose subject or related fields contain angle brackets, javascript: URIs, or event handler attributes.
- Review web server access logs for POST requests to Fluent Forms submission endpoints with payload bodies containing script sinks.
- Correlate administrator panel access with suspicious outbound requests originating from the admin browser.
Monitoring Recommendations
- Enable WordPress audit logging to track changes to users, roles, options, and plugin files.
- Alert on new administrator or editor account creation outside of change windows.
- Monitor the installed version of Fluent Forms across managed WordPress estates and flag any instance below 5.2.4.
How to Mitigate CVE-2024-10646
Immediate Actions Required
- Upgrade the Fluent Forms plugin to version 5.2.4 or later on every WordPress site in the environment.
- Audit existing Fluent Forms submissions for stored payloads and purge any entries containing script content.
- Rotate credentials and session tokens for WordPress administrators who may have viewed malicious submissions.
- Review installed plugins, themes, and administrator accounts for unauthorized changes.
Patch Information
The vendor addressed the issue in Fluent Forms version 5.2.4. The specific fix is applied in boot/globals.php as recorded in WordPress Changeset #3203147. WordPress site operators should apply the update through the standard plugin update workflow or by deploying the patched release via their configuration management tooling.
Workarounds
- If immediate patching is not possible, temporarily deactivate the Fluent Forms plugin to eliminate the injection surface.
- Deploy a Web Application Firewall (WAF) rule to block requests to Fluent Forms submission endpoints containing script sinks in the subject parameter.
- Restrict access to the WordPress admin interface by IP allowlisting until the patch is applied.
# Example WP-CLI command to update Fluent Forms across managed WordPress sites
wp plugin update fluentform --version=5.2.4
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

