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

Medium 5.4 Published Updated

Authenticated attackers can inject arbitrary scripts via the mf_last_name shortcode, leading to stored XSS when victims visit crafted links.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-0709?

CVE-2023-0709 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, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2023-0709?

It affects 1 product.

Products include Wpmet Metform Elementor Contact Form Builder.

How do I fix CVE-2023-0709?

No fix has been published for CVE-2023-0709 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-0709 being exploited?

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

Sources

Also known as GHSA-c995-g8wc-74pm.

Is CVE-2023-0709 in your software?

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

Check your SBOMs for free