Description
The Metform Elementor Contact Form Builder for WordPress is vulnerable to Cross-Site Scripting by using the 'mf_last_name' shortcode to echo unescaped form submissions in versions up to, and including, 3.3.0. This allows authenticated attackers, with contributor-level permissions or above, to inject arbitrary web scripts in pages that will execute when the victim visits a a page containing the shortcode when the submission id is present in the query string. Note that getting the JavaScript to execute requires user interaction as the victim must visit a crafted link with the form entry id, but the script itself is stored in the site database.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| roxnor | MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor | <= 3.3.0 |
References
- https://plugins.trac.wordpress.org/browser/metform/trunk/base/shortcode.php?rev=2845078Patch
- https://plugins.trac.wordpress.org/changeset/2907471/Patch
- https://www.wordfence.com/threat-intel/vulnerabilities/id/25200656-a6a2-42f2-a607-26d4ff502cbf?source=cveThird Party Advisory
- https://plugins.trac.wordpress.org/browser/metform/trunk/base/shortcode.php?rev=2845078Patch
- https://plugins.trac.wordpress.org/changeset/2907471/Patch
- https://www.wordfence.com/threat-intel/vulnerabilities/id/25200656-a6a2-42f2-a607-26d4ff502cbf?source=cveThird Party Advisory
Timeline
- Published
- Jun 9, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified