CVE-2025-5684 MEDIUM

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

Vendor Roxnor
Product MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor
Weakness CWE-79 · XSS
Published July 29, 2025
Last update April 8, 2026

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

MetForm versions up to 4.0.1 contain a stored cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts into form data. When other users view or interact with affected forms, the injected code executes in their browsers. This can lead to session hijacking, credential theft, or unauthorized actions performed on behalf of victims.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that executes when other users view or submit forms, potentially stealing credentials or hijacking sessions.

Potential impact on your site

04Site Impact

Authenticated users can inject harmful scripts into forms, compromising other users' accounts and data security.

Conditions required to exploit

05Prerequisites

Attacker must have a user account with form creation or editing permissions on the site.

Key dates

06Disclosure timeline

July 29, 2025 CVE published
April 8, 2026 Record updated