WordPress security changelog
MEDIUM CVE-2026-18100 Deferred

MetForm permits Contributor-level stored cross-site scripting

MetForm through 4.1.8 lets a Contributor or higher store script-capable input in the mf_form_id widget setting. A tag-free payload bypasses Elementor's save-time wp_kses_post filtering, and MetForm's script-tag str_replace transformation provides an additional render-time path for JavaScript execution.

CVE / CNA score 6.4 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
MetForm – Contact Form, Survey, Quiz, Conditional Forms, Form Templates & Custom Form Builder for Elementor
Plugin slug
metform
Affected
<= 4.1.8
Safe version
4.2.0
Published
Aug 25, 2026
Weakness
CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

This CVE was published Aug 25, 2026 and is one of 24 known issues for this plugin.

Update, patch or deactivate.

Update to 4.2.0 or later, inspect MetForm widget settings for untrusted mf_form_id values, and invalidate privileged sessions if malicious content was viewed.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Primary and upstream sources