CVE-2026-101335: Forminator Forms <= 1.58.1 - Unauthenticated Arbitrary Shortcode Execution via 'User-Agent' Header and 'referer_url' Parameter via Quiz Notification Merge Tags
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 forminatorreplacequizformdata() helper invoking doshortcode() on the fully expanded notification body once the {quizresult} merge tag has been substituted, while the earlier-substituted {useragent} and {referurl} merge tags carry unauthenticated attacker-controlled bytes (the User-Agent header and the refererurl POST parameter) through sanitizetextfield()/eschtml(), 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 {quizresult}; the resulting impact depends on the shortcodes exposed by other installed plugins/themes and can range from arbitrary content injection to information disclosure.
Affected Software
Event History
Frequently Asked Questions
What configuration is required for exploitation?
A quiz notification template must include the {quiz_result} merge tag. The vulnerable processing occurs after that tag is expanded and the notification body is passed to WordPress shortcode processing.
Does an attacker need an account or user interaction?
No. An unauthenticated attacker can submit a quiz and supply controlled data through the User-Agent header or the referer_url POST parameter.
What determines the practical impact on a site?
Impact depends on which WordPress shortcodes are registered by the site's installed plugins and themes. Available shortcodes may allow content injection or information disclosure.
How can I identify potentially exposed configurations?
Check whether the site runs a Forminator Forms version up to and including 1.58.1, and review quiz notification templates for use of the {quiz_result} merge tag. Sites without such a quiz notification configuration are not described as meeting the stated exploitation condition.