CVE-2021-42361 Contact Form Email <= 1.3.24 Authenticated Stored Cross-Site Scripting
Administrators can inject arbitrary web scripts via the name parameter in the Contact Form Email plugin, affecting sites with unfiltered_html disabled.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-42361?
CVE-2021-42361 is a medium-severity cross-site scripting vulnerability in Contact Form Email, published on 17 Nov 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The Contact Form Email WordPress plugin is vulnerable to Stored Cross-Site Scripting due to insufficient input validation and escaping via the name parameter found in the ~/trunk/cp-admin-int-list.inc.php file which allowed attackers with administrative user access to inject arbitrary web scripts, in versions up to and including 1.3.24. This affects multi-site installations where unfiltered_html is disabled for administrators, and sites where unfiltered_html is disabled.
Weakness: CWE-79
Which versions are affected by CVE-2021-42361?
It affects 1 product.
Products include Codepeople Contact Form Email.
How do I fix CVE-2021-42361?
No fix has been published for CVE-2021-42361 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-42361 being exploited?
There is no known exploitation of CVE-2021-42361 in the wild and no public exploit code.
Other vulnerabilities in Contact Form Email
- CVE-2018-20964 Cross-site request forgery in n/a
- CVE-2023-5955 Contact Form Email < 1.3.44 - Editor+ Stored Cross-Site Scripting
- CVE-2018-20963 Cross-site scripting in n/a
- CVE-2019-9646 Cross-site scripting in n/a
- CVE-2025-24727 WordPress Contact Form to Email Plugin <= 1.3.52 - Cross Site Scripting (XSS) vulnerability
Sources
Also known as GHSA-j24g-fmpx-gq7m.