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-9351 Overview
The Forminator Forms plugin for WordPress contains a Cross-Site Request Forgery (CSRF) vulnerability affecting all versions up to and including 1.35.1. The flaw resides in the quiz create_module function, which lacks proper nonce validation. An unauthenticated attacker can craft a malicious request that creates draft quizzes when a site administrator is tricked into clicking a specially crafted link. The vulnerability is classified under CWE-352: Cross-Site Request Forgery. The plugin is published by WPMU DEV and installed on a large number of WordPress sites, extending the exposure footprint across production and marketing environments.
Critical Impact
Unauthenticated attackers can create draft quiz modules in WordPress by inducing an authenticated administrator to visit an attacker-controlled URL.
Affected Products
- WPMU DEV Forminator Forms – Contact Form, Payment Form & Custom Form Builder for WordPress
- All versions up to and including 1.35.1
- Free distribution channel on wordpress.org
Discovery Timeline
- 2024-10-17 - CVE-2024-9351 published to the National Vulnerability Database (NVD)
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-9351
Vulnerability Analysis
The weakness exists in the quiz module creation path exposed by the plugin's administrative loader. The create_module handler processes incoming requests but does not validate a WordPress nonce before accepting state-changing input. Because WordPress relies on nonces as its primary CSRF mitigation, the missing check allows forged requests originating from third-party sites to invoke the handler using the victim administrator's active session cookies.
Successful exploitation does not grant code execution or data exfiltration. Instead, it produces draft quiz modules in the Forminator administration area. Attackers can abuse this primitive to seed drafts containing attacker-chosen content, which may later be published or embedded in further social engineering workflows targeting administrators.
Root Cause
The root cause is missing or incorrect nonce validation in the quiz create_module function within library/modules/quizzes/admin/admin-loader.php. WordPress plugins must verify a nonce using check_admin_referer() or wp_verify_nonce() on any administrative action that modifies state. The absence of this check means the server trusts any request bearing a valid administrator session cookie, regardless of origin.
Attack Vector
Exploitation requires an authenticated administrator to interact with attacker-controlled content such as a link, image tag, or embedded form on an external page. When the browser issues the forged request to the vulnerable endpoint, WordPress attaches the administrator's cookies, and the plugin processes the request as legitimate. The attack vector is network-based and requires user interaction, but no attacker credentials on the target site.
The vulnerable code path is documented in the WordPress Forminator Admin Loader source and the Wordfence Vulnerability Report.
Detection Methods for CVE-2024-9351
Indicators of Compromise
- Unexpected draft quiz entries appearing in the Forminator administration dashboard without a corresponding user action.
- HTTP POST requests to Forminator administrative endpoints with Referer headers pointing to external, unrelated domains.
- Access log entries showing administrator sessions issuing module-creation requests shortly after visiting external links or emails.
Detection Strategies
- Review the WordPress audit log for forminator quiz creation events and correlate with the originating request's Referer and Origin headers.
- Monitor the plugin version across managed WordPress deployments and flag any instance running 1.35.1 or earlier.
- Alert on administrative POST requests to Forminator endpoints that lack a valid _wpnonce parameter.
Monitoring Recommendations
- Enable WordPress activity logging to capture quiz module creation and deletion events for forensic review.
- Forward web server access logs to a centralized analytics platform and build queries for Forminator administrative paths.
- Configure web application firewall (WAF) rules to inspect requests to the quiz module endpoints for missing or malformed nonces.
How to Mitigate CVE-2024-9351
Immediate Actions Required
- Upgrade Forminator Forms to a version later than 1.35.1 that includes the fix shipped in WordPress Changeset #3169243.
- Audit the Forminator quiz module list and delete any unrecognized draft entries created before the patch was applied.
- Instruct administrators to log out of WordPress when browsing external sites and to avoid clicking links from untrusted sources.
Patch Information
WPMU DEV addressed the issue by adding nonce validation to the quiz create_module function. The corrective commit is published as WordPress Changeset #3169243. Site operators should update through the WordPress plugin management interface or by replacing the plugin directory with the patched release.
Workarounds
- Restrict access to /wp-admin/ using IP allowlists or VPN enforcement to reduce the attack surface for CSRF against administrators.
- Deploy a WordPress security plugin or WAF ruleset that enforces Referer and Origin header validation on administrative POST requests.
- Temporarily deactivate the Forminator plugin on sites where quiz functionality is not required until the patched version can be deployed.
# Update Forminator Forms via WP-CLI to the latest patched release
wp plugin update forminator --path=/var/www/html
# Verify the installed version is greater than 1.35.1
wp plugin get forminator --field=version --path=/var/www/html
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

