CVE-2025-5684

MetForm <= 4.0.1 - Authenticated(Contributor+) Stored Cross-Site Scripting via `mf-template` DOM Element

Published Jul 29, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `mf-template` DOM Element in all versions up to, and including, 4.0.1 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.

Analysis

AI-generated

Technical impact

The MetForm plugin is affected by a stored cross‑site scripting flaw that allows a contributor‑level user or higher to embed arbitrary JavaScript within the mf‑template element. When a target user views the compromised page, the malicious script runs in the victim’s browser. Attackers could steal session cookies, perform actions under the victim’s identity, or load external malicious content. The weakness is a classic input validation and output escaping failure classified as CWE‑79.

Affected Systems

This issue affects the MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor plugin distributed by roxnor. All released versions up to and including 4.0.1 are vulnerable. Customers using earlier versions should verify their installation and consider upgrading.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity. The EPSS score is less than 1%, implying low exploitation probability in the current period. The vulnerability is not yet in the CISA KEV catalog. Exploitation requires authenticated Contributor-level access, meaning the attacker must already have moderate privileges within the WordPress site. Attackers can inject malicious code through the admin interface by editing an existing form or creating a new one. Because the payload is stored, every user who opens the affected page will execute the script until the infection is removed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MetForm to the latest stable version that addresses the XSS flaw.
  • If an upgrade is not immediately possible, remove or restrict Contributor and higher roles from the site, or disable form creation for those users.
  • Configure a content‑security policy that blocks inline scripts or set X-Content-Type-Options and X-XSS-Protection headers to reduce the impact of any remaining stored payloads.

Generated by OpenCVE AI on April 21, 2026 at 19:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-23038 The MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `mf-template` DOM Element in all versions up to, and including, 4.0.1 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.
History
Type Values Removed Values Added
First Time appeared Elementor
Elementor elementor
Wordpress
Wordpress wordpress
Wpmet
Wpmet metform Elementor Contact Form Builder
Vendors & Products Elementor
Elementor elementor
Wordpress
Wordpress wordpress
Wpmet
Wpmet metform Elementor Contact Form Builder
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description The MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `mf-template` DOM Element in all versions up to, and including, 4.0.1 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.
Title MetForm <= 4.0.1 - Authenticated(Contributor+) Stored Cross-Site Scripting via `mf-template` DOM Element
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:02 PM
Reserved
Jun 4, 2025, 1:25 PM
Status
Deferred
Published
Jul 29, 2025, 8:15 PM
Modified
Jun 17, 2026, 9:48 AM