CVE-2023-0695 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 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-0695?

CVE-2023-0695 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' 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 specific link. Note that getting the JavaScript to execute still 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-0695?

It affects 1 product.

Products include Wpmet Metform Elementor Contact Form Builder.

How do I fix CVE-2023-0695?

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

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

Sources

Also known as GHSA-f899-qq2h-rp4g.

Is CVE-2023-0695 in your software?

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

Check your SBOMs for free