CVE-2023-0708
Description
The Metform Elementor Contact Form Builder for WordPress is vulnerable to Cross-Site Scripting by using the 'mf_first_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.
Affected WordPress components
-
MetForm – Contact Form, Survey, Quiz, Conditional Forms, Form Templates & Custom Form Builder for Elementor Plugin · metformUp to and including 3.3.0View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- roxnor MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor — Up to and including 3.3.0
- wpmet metform_elementor_contact_form_builder — Up to and including 3.3.0
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/metform/trunk/base/shortcode.php?rev=2845078 Patch
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/2907471/ Patch
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/ae7549db-9a4b-4dee-8023-d7863dc3b4c8?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record