CVE-2026-101335: CWE-94 Improper Control of Generation of Code ('Code Injection') in wpmudev Forminator Forms – Contact Form, Payment Form & Custom Form Builder
Description
The Forminator Forms – Contact Form, Payment Form & Custom Form Builder plugin for WordPress is vulnerable to Arbitrary Shortcode Execution in versions up to, and including, 1.58.1. This is due to the forminator_replace_quiz_form_data() helper invoking do_shortcode() on the fully expanded notification body once the {quiz_result} merge tag has been substituted, while the earlier-substituted {user_agent} and {refer_url} merge tags carry unauthenticated attacker-controlled bytes (the User-Agent header and the referer_url POST parameter) through sanitize_text_field()/esc_html(), neither of which strip the '[' and ']' shortcode delimiters. This makes it possible for unauthenticated attackers to execute arbitrary WordPress shortcodes registered on the site by submitting a quiz whose notification template contains {quiz_result}; the resulting impact depends on the shortcodes exposed by other installed plugins/themes and can range from arbitrary content injection to information disclosure.
CVSS v3.1
Score 6.5medium
Affected software
wpmudev
Forminator Forms – Contact Form, Payment Form & Custom Form Builder
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-101335 is a code injection vulnerability (CWE-94) in the Forminator Forms – Contact Form, Payment Form & Custom Form Builder WordPress plugin. The vulnerability arises because the forminator_replace_quiz_form_data() function calls do_shortcode() on the notification body after substituting the {quiz_result} merge tag. Meanwhile, the {user_agent} and {refer_url} merge tags include attacker-controlled input from the User-Agent header and referer_url POST parameter, respectively, which are sanitized with sanitize_text_field()/esc_html() but still retain shortcode delimiters '[' and ']'. This allows unauthenticated attackers to inject and execute arbitrary WordPress shortcodes registered on the site by submitting a quiz with a notification template containing {quiz_result}. The severity is medium with a CVSS 3.1 score of 6.5, reflecting network attack vector, low complexity, no privileges required, no user interaction, and limited confidentiality and integrity impact.
Potential Impact
An unauthenticated attacker can execute arbitrary WordPress shortcodes by submitting a specially crafted quiz to the vulnerable Forminator Forms plugin. The actual impact depends on the shortcodes registered by other plugins or themes on the site and can include arbitrary content injection or information disclosure. There is no indication of availability impact. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider disabling quiz notifications or removing the {quiz_result} merge tag from notification templates to prevent shortcode execution. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-09-28T14:24:04.839Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ad1acbb2cdf04f656b600e1
Added to database: 10/16/2026, 04:48:59 UTC
Last enriched: 10/16/2026, 05:04:50 UTC
Last updated: 10/16/2026, 19:03:29 UTC
Views: 16
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.