CVE-2026-18100
Description
The MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'mf_form_id' Widget Setting in all versions up to, and including, 4.1.8 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload bypasses Elementor's save-time wp_kses_post filter because it contains no HTML tags, and MetForm's own str_replace transformation of script tags into JavaScript template literal expressions provides an additional delivery path.
Affected WordPress components
-
MetForm – Contact Form, Survey, Quiz, Conditional Forms, Form Templates & Custom Form Builder for Elementor Plugin · metformUp to and including 4.1.8View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- roxnor MetForm – Contact Form, Survey, Quiz, Conditional Forms, Form Templates & Custom Form Builder for Elementor — Up to and including 4.1.8
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/metform/tags/4.1.4/controls/form-picker-utils.php#L45
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/metform/tags/4.1.4/utils/util.php#L605
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/metform/tags/4.1.4/widgets/form.php#L143
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/metform/tags/4.1.8/controls/form-picker-utils.php#L45
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/metform/tags/4.1.8/utils/util.php#L605
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/metform/tags/4.1.8/widgets/form.php#L143
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?reponame=&new=3639278%40metform%2Ftrunk&old=3618333%40metform%2Ftrunk
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/976f1f01-ad5d-413e-a208-ae4b71a61502?source=cve
- nvd.nist.gov Official NVD record