# Contact Form Email <= 1.3.76 - Cross-Site Request Forgery to Database Encoding Change

- **ID:** WPSEC-2026-4324
- **Plugin:** Contact Form Email (`contact-form-to-email`), https://wordpress.org/plugins/contact-form-to-email/
- **Affected versions:** all versions before 1.3.77
- **Fixed in:** 1.3.77 (Update to 1.3.77 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-352
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-01)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/contact-form-to-email
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4324/

## Description

The Contact Form Email plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.3.76 due to missing nonce validation on the encoding fix handler, which ran on a GET parameter. This makes it possible for unauthenticated attackers to make the plugin execute ALTER TABLE statements converting its database tables' character set via a forged request, granted they can trick a site administrator into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-4324/
- https://plugins.svn.wordpress.org/contact-form-to-email/tags/1.3.77/
- https://wordpress.org/plugins/contact-form-to-email/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4324/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
