Vulnerabilities / MetForm / WPSEC-2026-4253

MetForm <= 4.3.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Widget Settings

Medium 6.4 CWE-79Fixed in 4.3.6
ID
WPSEC-2026-4253
Plugin
MetForm – Contact Form, Survey, Quiz, Conditional Forms, Form Templates & Custom Form Builder for Elementor (metform)
Affected
from 1.3.0 before 4.3.6
Remediation
Update to 4.3.6 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin High · Affected versions High among sites WPSec scans, 2026-11-30
Attack surface
MetForm on WPSec AttackSurface
Fix released
Published

Description

The MetForm plugin for WordPress is vulnerable to Stored Cross-Site Scripting via form widget settings such as validation messages, validation expressions, option labels and quiz data in all versions up to, and including, 4.3.5. This is due to insufficient output escaping: the field widgets print these settings with plain wp_json_encode(), which leaves HTML special characters, ampersands (HTML entities that the form script turns back into quotes), backticks and '$' unescaped, both in the widget's raw HTML output and in the form template that is compiled into JavaScript. 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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0