CVE-2023-0710 Cross-site scripting in MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor

Medium 4.9 Published Updated

Authenticated attackers can inject arbitrary scripts via the mf_thankyou shortcode, leading to stored XSS execution on victim pages.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-0710?

CVE-2023-0710 is a medium-severity cross-site scripting vulnerability in roxnor MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor, published on 9 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Metform Elementor Contact Form Builder for WordPress is vulnerable to Cross-Site Scripting by using the 'fname' attribute of the 'mf_thankyou' 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. Additionally this requires successful payment, increasing the complexity.

Weakness: CWE-79

Which versions are affected by CVE-2023-0710?

It affects 1 product.

Products include Wpmet Metform Elementor Contact Form Builder.

How do I fix CVE-2023-0710?

No fix has been published for CVE-2023-0710 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2023-0710 being exploited?

There is no known exploitation of CVE-2023-0710 in the wild and no public exploit code.

Sources

Also known as GHSA-5j39-4hmr-r67w.

Is CVE-2023-0710 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free