CVE-2026-101335 Code injection in Forminator Forms – Contact Form, Payment Form & Custom Form Builder
Unauthenticated attackers can execute arbitrary WordPress shortcodes via crafted User-Agent and referer headers in Forminator Forms quiz notifications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-101335?
CVE-2026-101335 is a medium-severity code injection vulnerability in wpmudev Forminator Forms – Contact Form, Payment Form & Custom Form Builder, published on 16 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2026-101335?
How do I fix CVE-2026-101335?
No fix has been published for CVE-2026-101335 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-101335 being exploited?
There is no known exploitation of CVE-2026-101335 in the wild and no public exploit code.
Sources
Also known as CVE-2026-103910, GHSA-j6gp-6943-4w67.