CVE-2021-47926 WordPress Contact Form to Email 1.3.24 Stored XSS

Medium 5.1 Published Updated

Authenticated attackers can inject malicious scripts via form names, leading to session hijacking or credential theft for other logged-in users.

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-2021-47926?

CVE-2021-47926 is a medium-severity cross-site scripting vulnerability in Form2Email Contact Form to Email, published on 10 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Contact Form to Email 1.3.24 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicious scripts by creating forms with script tags in the form name field. Attackers can craft form names containing JavaScript code that executes when other logged-in users access the form management page, enabling session hijacking or credential theft.

Weakness: CWE-79

Which versions are affected by CVE-2021-47926?

How do I fix CVE-2021-47926?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47926 exists.

Sources

Also known as GHSA-94gc-c5w3-57wp.

Is CVE-2021-47926 in your software?

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

Check your SBOMs for free