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.
Published: 2026-10-16
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary Shortcode Execution
Action: Immediate Patch
AI Analysis

Impact

The Forminator Forms plugin allows an unauthenticated attacker to execute any WordPress shortcode on the site by crafting a quiz submission that includes the {quiz_result} merge tag in the notification template. The attack vector exploits the plugin’s forminator_replace_quiz_form_data() helper, which passes the user’s User-Agent header and the referer_url POST parameter through sanitize_text_field() and esc_html() before the final do_shortcode() call. These sanitizers do not strip the square‑bracket shortcode delimiters, enabling the attacker to inject arbitrary shortcodes that will be processed by WordPress. The resulting impact depends on which shortcodes are registered on the site and can range from content injection to information disclosure or further privilege escalation if malicious shortcodes exist in other plugins or themes.

Affected Systems

All WordPress sites running the Forminator Forms – Contact Form, Payment Form & Custom Form Builder plugin version 1.58.1 or earlier are impacted. The vulnerability is tied to the plugin’s quiz notification system; any site that uses the quiz feature with the {quiz_result} merge tag is at risk.

Risk and Exploitability

The CVSS score of 6.5 indicates a medium severity exploit in terms of confidentiality and availability risk. The EPSS score is not available, and this issue is not listed in the CISA KEV catalog, suggesting that while the vulnerability exists, its exploitation likelihood may be lower than other high‑profile flaws. The attacker only needs to submit a quiz form to trigger the vulnerability, providing no authentication or network restrictions. The availability of any arbitrary shortcode on the site determines the ultimate impact; therefore, sites with a large number of plugins that expose shortcodes are at especially higher risk.

Generated by OpenCVE AI on October 16, 2026 at 13:48 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Forminator Forms to the latest version after 1.58.1 where the issue is fixed.
  • If an upgrade is not immediately possible, edit the quiz notification template to remove the {quiz_result} merge tag or disable the notification feature entirely.
  • Apply additional sanitization to the notification body by wrapping the entire content in esc_html() or a custom filter that strips shortcode delimiters before sending the email.
  • If feasible, disable or whitelist specific shortcodes in the WordPress configuration to prevent arbitrary execution from the plugin’s notification content.

Generated by OpenCVE AI on October 16, 2026 at 13:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions forminator Forms
Wpmudev
Wpmudev forminator Forms
Vendors & Products Wordpress-extensions
Wordpress-extensions forminator Forms
Wpmudev
Wpmudev forminator Forms

Fri, 16 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 04:45:00 +0000

Type Values Removed Values Added
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.
Title Forminator Forms <= 1.58.1 - Unauthenticated Arbitrary Shortcode Execution via 'User-Agent' Header and 'referer_url' Parameter via Quiz Notification Merge Tags
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}


Subscriptions

Wordpress-extensions Forminator Forms
Wpmudev Forminator Forms
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-16T15:09:40.456Z

Reserved: 2026-09-28T14:24:04.839Z

Link: CVE-2026-101335

cve-icon Vulnrichment

Updated: 2026-10-16T15:00:27.567Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T05:17:27.933

Modified: 2026-10-16T15:16:58.983

Link: CVE-2026-101335

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T23:30:13Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')