CVE-2024-2791 MEDIUM

CVE-2024-2791: Metform Elementor Contact Form Builder <= 3.8.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Widgets

Vendor Roxnor
Product MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor
Weakness CWE-79 · XSS
Published April 2, 2024
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 Elementor Contact Form Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's widgets in all versions up to, and including, 3.8.5 due to insufficient input sanitization and output escaping on user supplied attributes. 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 3.8.5 contain a stored cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts into form fields. These scripts execute in the browsers of other users who view the affected forms or submissions. The vulnerability affects the form builder's handling of user input and can impact site visitors and administrators.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that run in other users' browsers when they view forms or submissions.

Potential impact on your site

04Site Impact

Attackers with form access can steal admin session tokens, deface forms, or redirect visitors to malicious sites.

Conditions required to exploit

05Prerequisites

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

Key dates

06Disclosure timeline

April 2, 2024 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE